discomfitor pushed a commit to branch master.
commit 5ac0b9df10adfbdd7bde7bfc85e3a6580e1a6cbc
Author: Mike Blumenkrantz <[email protected]>
Date: Thu May 23 11:16:00 2013 +0100
remove unnecessary call to evas_object_data_get during gadget deletion
---
src/bin/e_gadcon.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index b751b3d..8f2a94b 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -3780,7 +3780,7 @@ _e_gadcon_layout_smart_disown(Evas_Object *obj)
E_Gadcon_Layout_Item *bi;
if (!obj) return;
- bi = evas_object_data_get(obj, "e_gadcon_layout_data");
+ bi = evas_object_data_del(obj, "e_gadcon_layout_data");
if (!bi) return;
if (!bi->sd->items)
{
@@ -3791,8 +3791,7 @@ _e_gadcon_layout_smart_disown(Evas_Object *obj)
_e_gadcon_layout_smart_item_del_hook);
evas_object_smart_member_del(obj);
evas_object_clip_unset(obj);
- evas_object_data_del(obj, "e_gadcon_layout_data");
- E_FREE(bi);
+ free(bi);
}
static void
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may