Enlightenment CVS committal
Author : englebass
Project : e_modules
Module : mem
Dir : e_modules/mem
Modified Files:
e_mod_main.c
Log Message:
Revert changes not related to gadcon.
===================================================================
RCS file: /cvs/e/e_modules/mem/e_mod_main.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- e_mod_main.c 2 Dec 2007 16:23:27 -0000 1.50
+++ e_mod_main.c 2 Dec 2007 16:49:47 -0000 1.51
@@ -137,8 +137,7 @@
ecore_timer_del (inst->check_timer);
mem_config->instances = evas_list_remove (mem_config->instances, inst);
_mem_free (inst->mem);
- free (inst);
- inst = NULL;
+ E_FREE (inst);
}
static void
@@ -173,7 +172,7 @@
e_util_zone_current_get (e_manager_current_get
()), x + ev->output.x,
y + ev->output.y, 1, 1,
- E_MENU_POP_DIRECTION_DOWN, ev->timestamp);
+ E_MENU_POP_DIRECTION_AUTO, ev->timestamp);
evas_event_feed_mouse_up (inst->gcc->gadcon->evas, ev->button,
EVAS_BUTTON_NONE, ev->timestamp, NULL);
}
@@ -350,11 +349,9 @@
evas_list_remove_list (mem_config->items, mem_config->items);
if (ci->id)
evas_stringshare_del (ci->id);
- free (ci);
- ci = NULL;
+ E_FREE (ci);
}
- free (mem_config);
- mem_config = NULL;
+ E_FREE (mem_config);
E_CONFIG_DD_FREE (conf_item_edd);
E_CONFIG_DD_FREE (conf_edd);
return 1;
@@ -390,8 +387,7 @@
_mem_free (Mem * m)
{
evas_object_del (m->mem_obj);
- free (m);
- m = NULL;
+ E_FREE (m);
}
static void
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs