From bdfbe8d6731d2350bbfccbf24f7931ef2ce20660 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 9 Nov 2007 17:36:09 +0100 Subject: [PATCH] Use the right free function. --- NEWS | 1 + lib/sugar/sugar-address-entry.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 7825e575..b689c521 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +* #4687 Use the right free function, fix a crash. (sjoerd) * Always checkin to the DS from a new file. (tomeu) Snapshot c682a5e241 diff --git a/lib/sugar/sugar-address-entry.c b/lib/sugar/sugar-address-entry.c index 1f8c983f..7b6d5252 100644 --- a/lib/sugar/sugar-address-entry.c +++ b/lib/sugar/sugar-address-entry.c @@ -297,7 +297,7 @@ _gtk_entry_effective_inner_border (GtkEntry *entry, if (tmp_border) { *border = *tmp_border; - g_free (tmp_border); + gtk_border_free (tmp_border); return; }