tasn pushed a commit to branch master.
commit 77cf31d322231d0459eefecad51b6f15a236c498
Author: Tom Hacohen <[email protected]>
Date: Tue Sep 10 15:56:52 2013 +0100
Eo: Set (again, got removed) deleted eo objects' magic.
The French tried to sneak a bug in, they failed.
Bug was introduced in 337fac0e73eb94c9b5c8f091ab0998e8dcde01f7.
---
src/lib/eo/eo_ptr_indirection.x | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/eo/eo_ptr_indirection.x b/src/lib/eo/eo_ptr_indirection.x
index 3bec84f..b4d25cb 100644
--- a/src/lib/eo/eo_ptr_indirection.x
+++ b/src/lib/eo/eo_ptr_indirection.x
@@ -445,7 +445,7 @@ _eo_id_release(const Eo_Id obj_id)
ERR("obj_id %p is not pointing to a valid object. Maybe it has already been
freed.", (void *)obj_id);
#else
- (void) obj_id;
+ EINA_MAGIC_SET(obj_id, EO_FREED_EINA_MAGIC);
#endif
}
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk