[gnome-commander/gcmd-1-2-8] Use g_strfreev() for freeing array of strings
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Use g_strfreev() for freeing array of strings
- Date: Mon, 7 Jun 2010 17:43:12 +0000 (UTC)
commit cd7392d8f59dee0e3cf46140d46b4b58e38a22e5
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Mon Jun 7 19:40:11 2010 +0200
Use g_strfreev() for freeing array of strings
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 fafc244..a9b388a 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_free (ents);
+ g_strfreev (ents);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]