summaryrefslogtreecommitdiff
path: root/obt
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-03-24 21:50:10 -0400
committerDana Jansens <danakj@orodu.net>2010-03-25 18:11:13 -0400
commit159a3cb3b1dcf0b3d1cb3a194a181d4e6aea57a4 (patch)
tree3ad11e6d6024fe4f3e23739869f5675a05a11008 /obt
parent4e70343b3ed57db27c130de69e39f372694ef910 (diff)
free the path after done with it
Diffstat (limited to 'obt')
-rw-r--r--obt/ddfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/obt/ddfile.c b/obt/ddfile.c
index b4b5d298..e32dff3e 100644
--- a/obt/ddfile.c
+++ b/obt/ddfile.c
@@ -364,6 +364,7 @@ ObtDDFile* obt_ddfile_new_from_file(const gchar *name, GSList *paths)
parse.lineno = 1;
if (!parse_file(dd, f, &parse)) f = NULL;
}
+ g_free(path);
}
if (!f) {
obt_ddfile_unref(dd);