aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Helmut Grohne <helmut@subdivi.de>2009-07-29 22:10:55 +0200
committerGravatar Helmut Grohne <helmut@subdivi.de>2009-07-29 22:10:55 +0200
commit4c29bee394f815afee118f0d7c1f9fb27ae26cbc (patch)
tree8b5d9ae796888e52411039e2e1ecf993f23d249b /uzbl.c
parentbdcc36e6f4af1f31736571b8f99fdc3725adf533 (diff)
fixed possible memory leak in find_xdg_file
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uzbl.c b/uzbl.c
index 44994f1..fd44975 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -2405,6 +2405,7 @@ find_xdg_file (int xdg_type, char* filename) {
if (file_exists (temporary_file)) {
return temporary_file;
} else {
+ g_free(temporary_file);
return NULL;
}
}