From: Dana Jansens Date: Thu, 25 Mar 2010 01:50:10 +0000 (-0400) Subject: free the path after done with it X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fopenbox;a=commitdiff_plain;h=159a3cb3b1dcf0b3d1cb3a194a181d4e6aea57a4 free the path after done with it --- 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);