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:
30e0a1b
)
Revert "Plug a mem leak in g_environ_unsetenv"
author
Christian Persch
<chpe@gnome.org>
Sun, 5 Feb 2012 19:00:16 +0000
(20:00 +0100)
committer
Christian Persch
<chpe@gnome.org>
Sun, 5 Feb 2012 19:00:16 +0000
(20:00 +0100)
This reverts commit
2f4b46e3783b04cddcb2622a57b2a8e692cff68a
, which was
pushed accidentally.
glib/genviron.c
patch
|
blob
|
history
diff --git
a/glib/genviron.c
b/glib/genviron.c
index
edb10e5
..
b876451
100644
(file)
--- a/
glib/genviron.c
+++ b/
glib/genviron.c
@@
-198,9
+198,6
@@
g_environ_unsetenv (gchar **envp,
*f = *e;
f++;
}
- else
- g_free (*e);
-
e++;
}
*f = NULL;