From 159a3cb3b1dcf0b3d1cb3a194a181d4e6aea57a4 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 24 Mar 2010 21:50:10 -0400 Subject: [PATCH] free the path after done with it --- obt/ddfile.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2