goffice r2254 - in trunk: . goffice/gtk
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2254 - in trunk: . goffice/gtk
- Date: Sat, 25 Oct 2008 23:57:43 +0000 (UTC)
Author: mortenw
Date: Sat Oct 25 23:57:43 2008
New Revision: 2254
URL: http://svn.gnome.org/viewvc/goffice?rev=2254&view=rev
Log:
2008-10-25 Morten Welinder <terra gnome org>
* goffice/gtk/go-action-combo-color.c (go_action_combo_color_finalize):
Plug leak.
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/goffice/gtk/go-action-combo-color.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Oct 25 23:57:43 2008
@@ -17,6 +17,7 @@
Morten:
* Fix go_url_resolve_relative. [#550898]
+ * Plug leaks.
--------------------------------------------------------------------------
goffice 0.7.1:
Modified: trunk/goffice/gtk/go-action-combo-color.c
==============================================================================
--- trunk/goffice/gtk/go-action-combo-color.c (original)
+++ trunk/goffice/gtk/go-action-combo-color.c Sat Oct 25 23:57:43 2008
@@ -111,7 +111,7 @@
struct _GOActionComboColor {
GtkAction base;
GOColorGroup *color_group;
- char const *default_val_label;
+ char *default_val_label;
GOColor default_val, current_color;
};
typedef struct {
@@ -235,6 +235,7 @@
GOActionComboColor *color = (GOActionComboColor *)obj;
if (color->color_group != NULL)
g_object_unref (color->color_group);
+ g_free (color->default_val_label);
combo_color_parent->finalize (obj);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]