tbuildfile: don't forget to free temporary string bpath - surf - customized build of surf, the suckless webkit browser
HTML git clone git://src.adamsgaard.dk/surf
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 9b1e1873b0929ff397abf5ba523390c9f01f807f
DIR parent 5333171961fc192fbc4d493c940566b1b3d4b3e5
HTML Author: Quentin Rameau <quinq+hackers@fifth.space>
Date: Wed, 4 Nov 2015 15:42:42 +0100
buildfile: don't forget to free temporary string bpath
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
M surf.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR diff --git a/surf.c b/surf.c
t@@ -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")))