projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdcc36e
)
fixed possible memory leak in find_xdg_file
author
Helmut Grohne
<helmut@subdivi.de>
Wed, 29 Jul 2009 20:10:55 +0000
(22:10 +0200)
committer
Helmut Grohne
<helmut@subdivi.de>
Wed, 29 Jul 2009 20:10:55 +0000
(22:10 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
44994f1
..
fd44975
100644
(file)
--- 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;
}
}