gnome-mud r706 - in trunk: . src
- From: lharris svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-mud r706 - in trunk: . src
- Date: Sun, 2 Nov 2008 17:03:37 +0000 (UTC)
Author: lharris
Date: Sun Nov 2 17:03:37 2008
New Revision: 706
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=706&view=rev
Log:
Fixed double free.
Modified:
trunk/ChangeLog
trunk/src/mud-connections.c
Modified: trunk/src/mud-connections.c
==============================================================================
--- trunk/src/mud-connections.c (original)
+++ trunk/src/mud-connections.c Sun Nov 2 17:03:37 2008
@@ -321,8 +321,8 @@
g_object_unref(client);
// Safe only because the iconview is in single select mode.
- g_free(selected->data);
- g_list_free(selected);
+ /*g_free(selected->data);
+ g_list_free(selected);*/
}
@@ -385,8 +385,8 @@
g_object_unref(client);
// Safe only because the iconview is in single select mode.
- g_free(selected->data);
- g_list_free(selected);
+ /*g_free(selected->data);
+ g_list_free(selected);*/
}
static void
@@ -402,13 +402,11 @@
gtk_tree_model_get_iter(conn->priv->icon_model, &iter, (GtkTreePath *)selected->data);
gtk_tree_model_get(conn->priv->icon_model, &iter, 0, &buf, -1);
+ g_message("%s", buf);
mud_connections_show_properties(conn, g_strdup(buf));
+ g_message("After show props...");
g_free(buf);
-
- // Safe only because the iconview is in single select mode.
- g_free(selected->data);
- g_list_free(selected);
}
static void
@@ -587,8 +585,8 @@
event ? event->time : gtk_get_current_event_time());
// Safe only because the iconview is in single select mode.
- g_free(selected->data);
- g_list_free(selected);
+ /*g_free(selected->data);
+ g_list_free(selected);*/
}
static gboolean
@@ -1227,8 +1225,8 @@
g_free(buf);
// Safe only because the iconview is in single select mode.
- g_free(selected->data);
- g_list_free(selected);
+ /*g_free(selected->data);
+ g_list_free(selected);*/
}
// Instantiate MudConnections
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]