]> Dogcows Code - chaz/openbox/commitdiff
free the path after done with it
authorDana Jansens <danakj@orodu.net>
Thu, 25 Mar 2010 01:50:10 +0000 (21:50 -0400)
committerDana Jansens <danakj@orodu.net>
Thu, 25 Mar 2010 22:11:13 +0000 (18:11 -0400)
obt/ddfile.c

index b4b5d29826ed86519c0cebba4f996fd54b7d4db2..e32dff3ee4623fb7bacfdc715341705cc29eb91f 100644 (file)
@@ -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);
This page took 0.02751 seconds and 4 git commands to generate.