summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_event.c
blob: 57d25e03ffecbff0b2c1016325a154dd734950c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include <Eina.h>
#include "eolian_database.h"

void
database_event_del(Eolian_Event *event)
{
   if (!event) return;
   if (event->name) eina_stringshare_del(event->name);
   if (event->comment) eina_stringshare_del(event->comment);
   database_type_del(event->type);
   database_doc_del(event->doc);
   free(event);
}