tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1e1104584f1271599a8695e20b0b85fc86b21264

commit 1e1104584f1271599a8695e20b0b85fc86b21264
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu May 29 09:24:28 2014 +0100

    Eo legacy events: Add missing addition to hash table.
    
    This rendered the whole thing useless.
    
    Found thanks to coverity.
    CID 1216616
    CID 1216617
---
 src/lib/eo/eo_base_class.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 8760b73..6a972ec 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -423,6 +423,7 @@ eo_base_legacy_only_event_description_get(const char 
*_event_name)
         event_desc = calloc(1, sizeof(Eo_Event_Description));
         event_desc->name = event_name;
         event_desc->doc = _legacy_event_desc;
+        eina_hash_add(_legacy_events_hash, event_name, event_desc);
      }
    else
      {

-- 


Reply via email to