summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_event.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-08 19:30:40 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-03-08 19:47:28 +0100
commit2248131295d0bd3b426ec14646a7731c998f17cc (patch)
tree735a94f957c68a7ce3cb5bb1769b05a638e53189 /src/lib/eolian/database_event.c
parent917a5216f87667374cb8bba1c60a92390fe5050f (diff)
eolian: give objects names, and reduce duplication
Diffstat (limited to 'src/lib/eolian/database_event.c')
-rw-r--r--src/lib/eolian/database_event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eolian/database_event.c b/src/lib/eolian/database_event.c
index 6dcd953..6513787 100644
--- a/src/lib/eolian/database_event.c
+++ b/src/lib/eolian/database_event.c
@@ -9,7 +9,8 @@ void
9database_event_del(Eolian_Event *event) 9database_event_del(Eolian_Event *event)
10{ 10{
11 if (!event) return; 11 if (!event) return;
12 if (event->name) eina_stringshare_del(event->name); 12 eina_stringshare_del(event->base.file);
13 eina_stringshare_del(event->base.name);
13 database_type_del(event->type); 14 database_type_del(event->type);
14 database_doc_del(event->doc); 15 database_doc_del(event->doc);
15 free(event); 16 free(event);