gnumeric r16895 - in trunk: . po-functions src



Author: mortenw
Date: Sat Oct 18 15:20:07 2008
New Revision: 16895
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16895&view=rev

Log:
2008-10-18  Morten Welinder  <terra gnome org>

	* src/gui-clipboard.c (set_clipman_targets): Plug leak.



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/po-functions/POTFILES.in
   trunk/src/gui-clipboard.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Sat Oct 18 15:20:07 2008
@@ -62,6 +62,7 @@
 	* Switch to LINGUAS file.  [#554348]
 	* Fix problems with saving undefined names.  [#554325]
 	* Fix parser crash.  [Part of #552750]
+	* Fix clipboard leak.
 
 Nakai:
 	* Enable Perl plugin again. [#553939]

Modified: trunk/po-functions/POTFILES.in
==============================================================================
--- trunk/po-functions/POTFILES.in	(original)
+++ trunk/po-functions/POTFILES.in	Sat Oct 18 15:20:07 2008
@@ -67,6 +67,7 @@
 src/dialogs/dialog-about.c
 src/dialogs/dialog-advanced-filter.c
 src/dialogs/dialog-analysis-tool-frequency.c
+src/dialogs/dialog-analysis-tool-kaplan-meier.c
 src/dialogs/dialog-analysis-tools.c
 src/dialogs/dialog-autocorrect.c
 src/dialogs/dialog-autofilter.c
@@ -178,6 +179,7 @@
 src/tools/analysis-exp-smoothing.c
 src/tools/analysis-frequency.c
 src/tools/analysis-histogram.c
+src/tools/analysis-kaplan-meier.c
 src/tools/analysis-tools.c
 src/tools/dao.c
 src/tools/data-shuffling.c

Modified: trunk/src/gui-clipboard.c
==============================================================================
--- trunk/src/gui-clipboard.c	(original)
+++ trunk/src/gui-clipboard.c	Sat Oct 18 15:20:07 2008
@@ -878,7 +878,7 @@
 	};
 	int n_whitelist = G_N_ELEMENTS (clipman_whitelist);
 	int n_allowed;
-	GtkTargetList *tl = gtk_target_list_new(NULL, 0);
+	GtkTargetList *tl = gtk_target_list_new (NULL, 0);
 	GtkTargetEntry *t, *wt, *t_allowed;
 
 	for (t = targets; t - targets < n_targets; t++) {
@@ -892,8 +892,9 @@
 			}
 		}
 	}
-	
+
 	t_allowed = gtk_target_table_new_from_list (tl, &n_allowed);
+	gtk_target_list_unref (tl);
 
 	gtk_clipboard_set_can_store (
 			gtk_clipboard_get_for_display (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]