summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq+hackers@fifth.space>2015-11-04 15:42:42 +0100
committerChristoph Lohmann <20h@r-36.net>2015-11-04 16:47:04 +0100
commit9b1e1873b0929ff397abf5ba523390c9f01f807f (patch)
tree924e2f35b22f658beaa3f4e4208a82847f76e7bf
parent5333171961fc192fbc4d493c940566b1b3d4b3e5 (diff)
downloadsurf-9b1e1873b0929ff397abf5ba523390c9f01f807f.tar.gz
surf-9b1e1873b0929ff397abf5ba523390c9f01f807f.tar.bz2
surf-9b1e1873b0929ff397abf5ba523390c9f01f807f.zip
buildfile: don't forget to free temporary string bpath
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-rw-r--r--surf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/surf.c b/surf.c
index 586bde1..d36053e 100644
--- 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")))