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:
481191f
)
glib: fix build
author
Marc-Antoine Perennou
<Marc-Antoine@Perennou.com>
Tue, 22 May 2012 18:38:52 +0000
(20:38 +0200)
committer
Marc-Antoine Perennou
<Marc-Antoine@Perennou.com>
Tue, 22 May 2012 18:38:52 +0000
(20:38 +0200)
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
glib/genviron.c
patch
|
blob
|
history
diff --git
a/glib/genviron.c
b/glib/genviron.c
index
7512f55
..
59a8bbe
100644
(file)
--- a/
glib/genviron.c
+++ b/
glib/genviron.c
@@
-194,10
+194,7
@@
g_environ_unsetenv_internal (gchar **envp,
}
*f = NULL;
- if (free_value_and_realloc)
- return g_renew (gchar *, envp, envc + 1);
- else
- return envp;
+ return envp;
}