free the path after done with it
This commit is contained in:
parent
4e70343b3e
commit
159a3cb3b1
1 changed files with 1 additions and 0 deletions
|
@ -364,6 +364,7 @@ ObtDDFile* obt_ddfile_new_from_file(const gchar *name, GSList *paths)
|
||||||
parse.lineno = 1;
|
parse.lineno = 1;
|
||||||
if (!parse_file(dd, f, &parse)) f = NULL;
|
if (!parse_file(dd, f, &parse)) f = NULL;
|
||||||
}
|
}
|
||||||
|
g_free(path);
|
||||||
}
|
}
|
||||||
if (!f) {
|
if (!f) {
|
||||||
obt_ddfile_unref(dd);
|
obt_ddfile_unref(dd);
|
||||||
|
|
Loading…
Reference in a new issue