aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>2007-03-09 14:00:03 +0000
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>2007-03-09 14:00:03 +0000
commit6ce66e18ec00e797e3aea90608761f2ec35dec4e (patch)
treeed0a8a5a6da990d7c6fb126f7ceeb81d4d4d96ed
parent9096a4430dd6d6b0a1060ace3a308936c0a2d117 (diff)
Fixing a double free in _set_insenstive_message. Fixes NB#52928.
-rw-r--r--ChangeLog.25
-rw-r--r--src/hildon-helper.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index 6c7a094..f497418 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,8 @@
+2007-03-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+
+ * src/hildon-helper.c: Fixing a double free in
+ _set_insenstive_message. Fixes NB#52928.
+
2007-03-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
* examples/hildon-color-pop-example.c:
diff --git a/src/hildon-helper.c b/src/hildon-helper.c
index 25a7852..7b4538c 100644
--- a/src/hildon-helper.c
+++ b/src/hildon-helper.c
@@ -279,17 +279,11 @@ hildon_helper_set_insensitive_message (GtkWidget *widget,
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (message != NULL);
- gpointer stored_message;
-
/* Clean up any previous instance of the insensitive message */
g_signal_handlers_disconnect_matched (G_OBJECT (widget), G_SIGNAL_MATCH_FUNC,
0, 0, NULL,
G_CALLBACK (show_insensitive_message), NULL);
- stored_message = g_object_get_qdata (G_OBJECT (widget), hildon_helper_insensitive_message_quark ());
- if (stored_message)
- g_free (stored_message);
-
/* We need to dup the string because the pointer might not be valid when the
insensitive-press signal callback is executed */
g_object_set_qdata_full (G_OBJECT (widget), hildon_helper_insensitive_message_quark (),