buildfile: don't forget to free temporary string bpath

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
Quentin Rameau 2015-11-04 15:42:42 +01:00 committed by Christoph Lohmann
parent 5333171961
commit 9b1e1873b0
1 changed files with 1 additions and 0 deletions

1
surf.c
View File

@ -273,6 +273,7 @@ buildfile(const char *path)
g_free(dname);
fpath = g_build_filename(bpath, bname, NULL);
g_free(bpath);
g_free(bname);
if (!(f = fopen(fpath, "a")))