buildfile: don't forget to free temporary string bpath
Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
parent
5333171961
commit
9b1e1873b0
1 changed files with 1 additions and 0 deletions
1
surf.c
1
surf.c
|
@ -273,6 +273,7 @@ buildfile(const char *path)
|
||||||
g_free(dname);
|
g_free(dname);
|
||||||
|
|
||||||
fpath = g_build_filename(bpath, bname, NULL);
|
fpath = g_build_filename(bpath, bname, NULL);
|
||||||
|
g_free(bpath);
|
||||||
g_free(bname);
|
g_free(bname);
|
||||||
|
|
||||||
if (!(f = fopen(fpath, "a")))
|
if (!(f = fopen(fpath, "a")))
|
||||||
|
|
Loading…
Reference in a new issue