summaryrefslogtreecommitdiffstats
path: root/src/dfxml.c
diff options
context:
space:
mode:
authorChristophe Grenier <[email protected]>2013-01-19 11:38:09 +0100
committerChristophe Grenier <[email protected]>2013-01-19 11:38:09 +0100
commitbb8e8fc98c00998929fda60e2ee97aff31079c93 (patch)
tree5f0260e7cf9f29f8b80a494c43be3ce9ba2ec70f /src/dfxml.c
parentde9898471635c2fb850d1a07536dacb158470288 (diff)
Add xml_clear_command_line() function
Diffstat (limited to 'src/dfxml.c')
-rw-r--r--src/dfxml.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dfxml.c b/src/dfxml.c
index 162833f5..d6ee1372 100644
--- a/src/dfxml.c
+++ b/src/dfxml.c
@@ -99,6 +99,12 @@ void xml_set_command_line(const int argc, char **argv)
}
}
+void xml_clear_command_line(void)
+{
+ free(command_line);
+ command_line=NULL;
+}
+
void xml_close()
{
if(xml_handle==NULL)