projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
857ac29
)
Revert "xdgmime: plug a small leak"
author
Dan Winship
<danw@gnome.org>
Mon, 3 Sep 2012 14:06:13 +0000
(10:06 -0400)
committer
Dan Winship
<danw@gnome.org>
Mon, 3 Sep 2012 14:07:31 +0000
(10:07 -0400)
This reverts commit
4e7031f073db2df7297feab35c9d353b0b3977d8
.
The string actually does get freed somewhere else, at least in some
cases. Can be looked at again later if this reintroduces a leak.
https://bugzilla.gnome.org/show_bug.cgi?id=683270
gio/xdgmime/xdgmime.c
patch
|
blob
|
history
diff --git
a/gio/xdgmime/xdgmime.c
b/gio/xdgmime/xdgmime.c
index
ee79da7
..
846be39
100644
(file)
--- a/
gio/xdgmime/xdgmime.c
+++ b/
gio/xdgmime/xdgmime.c
@@
-156,7
+156,6
@@
xdg_mime_init_from_directory (const char *directory)
_caches[n_caches + 1] = NULL;
n_caches++;
- free (file_name);
return FALSE;
}
}