summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 97f1e3c..0584130 100644
--- a/setup.c
+++ b/setup.c
@@ -128,6 +128,7 @@ parse_setup_xml (const char *filename, TGallerySetup *setup)
if (s) g_free (s);
setup->site_title = xml_file_get_node_attribute (xml, "/gallery_setup/meta/site", "title");
+ setup->add_copyright = xml_file_get_node_value (xml, "/gallery_setup/meta/add_copyright/text()");
xml_parser_close (xml);
@@ -252,6 +253,8 @@ free_setup_data (TGallerySetup *setup)
free (setup->border_style);
if (setup->site_title)
free (setup->site_title);
+ if (setup->add_copyright)
+ free (setup->add_copyright);
free (setup);
setup = NULL;
}