From 98ba73cd578ff9e78e38a99fb1d414804dc73eb1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 27 Jun 2001 02:39:03 +0000 Subject: Plug a leak. Every time the ETable would query the model for the string at the top of the tree, a "My Evolution" string would be leaked. svn path=/trunk/; revision=10523 --- shell/ChangeLog | 6 ++++++ shell/e-storage-set-view.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index d6e8d7ca9a..db1a84a38d 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,9 @@ +2001-06-26 Ettore Perazzoli + + * e-storage-set-view.c (etree_value_at): Don't strdup "My + Evolution"! It was getting leaked every time the e-table wanted + to read the value this way. + 2001-06-26 Ettore Perazzoli * e-local-storage.c: Removed member `BonoboListener' from diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index a9106ecfa0..b0f2a5c547 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -1436,7 +1436,7 @@ etree_value_at (ETreeModel *etree, ETreePath tree_path, int col, void *model_dat if (storage != NULL && col == 0) return (void *) e_storage_get_name (storage); - return g_strdup ("My Evolution"); + return _("My Evolution"); } static void -- cgit v1.2.3