commit 9b1e1873b0929ff397abf5ba523390c9f01f807f
parent 5333171961fc192fbc4d493c940566b1b3d4b3e5
Author: Quentin Rameau <[email protected]>
Date: Wed, 4 Nov 2015 15:42:42 +0100
buildfile: don't forget to free temporary string bpath
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/surf.c b/surf.c
@@ -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")))