Eo legacy events: Add missing addition to hash table.

This rendered the whole thing useless.

Found thanks to coverity.
CID 1216616
CID 1216617
This commit is contained in:
Tom Hacohen 2014-05-29 09:24:28 +01:00
parent 06c7fee700
commit 1e1104584f
1 changed files with 1 additions and 0 deletions

View File

@ -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
{