buildfile: don't forget to free temporary string bpath - surf - surf browser, a WebKit2GTK based browser
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:
surf.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR 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")))