[glib/glib-2-32] glib: fix build
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [glib/glib-2-32] glib: fix build
- Date: Sat, 14 Jul 2012 23:19:28 +0000 (UTC)
commit 8906b1f66b96d6895095560f026cf43aeabfca37
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date:   Tue May 22 20:38:52 2012 +0200
    glib: fix build
    
    Signed-off-by: Marc-Antoine Perennou <Marc-Antoine Perennou com>
 glib/genviron.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/glib/genviron.c b/glib/genviron.c
index 7512f55..59a8bbe 100644
--- 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;
 }
 
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]