summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_part.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/database_part.c')
-rw-r--r--src/lib/eolian/database_part.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/eolian/database_part.c b/src/lib/eolian/database_part.c
new file mode 100644
index 0000000000..dca036aba5
--- /dev/null
+++ b/src/lib/eolian/database_part.c
@@ -0,0 +1,15 @@
1#ifdef HAVE_CONFIG_H
2# include "config.h"
3#endif
4
5#include <Eina.h>
6#include "eolian_database.h"
7
8void
9database_part_del(Eolian_Part *part)
10{
11 if (!part) return;
12 if (part->name) eina_stringshare_del(part->name);
13 database_doc_del(part->doc);
14 free(part);
15}