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

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

void
database_part_del(Eolian_Part *part)
{
   if (!part) return;
   if (part->name) eina_stringshare_del(part->name);
   database_doc_del(part->doc);
   free(part);
}