[gnome-commander/gcmd-1-2-8] Revert "Use g_strfreev() for freeing array of strings"



commit bfcf89f077554d0970c9c259aa98dd42c2815e48
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Jun 8 22:56:59 2010 +0200

    Revert "Use g_strfreev() for freeing array of strings"
    
    This reverts commit cd7392d8f59dee0e3cf46140d46b4b58e38a22e5.

 src/gnome-cmd-app.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-app.cc b/src/gnome-cmd-app.cc
index a9b388a..fafc244 100644
--- a/src/gnome-cmd-app.cc
+++ b/src/gnome-cmd-app.cc
@@ -213,7 +213,7 @@ void gnome_cmd_app_set_pattern_string (GnomeCmdApp *app, const gchar *pattern_st
     for (gint i=0; ents[i]; ++i)
         app->priv->pattern_list = g_list_append (app->priv->pattern_list, ents[i]);
 
-    g_strfreev (ents);
+    g_free (ents);
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]