about summary refs log tree commit diff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-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")))