aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-27 10:39:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-27 10:39:03 +0800
commit98ba73cd578ff9e78e38a99fb1d414804dc73eb1 (patch)
tree0db97349e1223da8ef598537c843107db074f676 /shell
parenteb2c101eaf353c6507213003479ef497ed271731 (diff)
downloadgsoc2013-evolution-98ba73cd578ff9e78e38a99fb1d414804dc73eb1.tar.gz
gsoc2013-evolution-98ba73cd578ff9e78e38a99fb1d414804dc73eb1.tar.zst
gsoc2013-evolution-98ba73cd578ff9e78e38a99fb1d414804dc73eb1.zip
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
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-storage-set-view.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index d6e8d7ca9a..db1a84a38d 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,11 @@
2001-06-26 Ettore Perazzoli <ettore@ximian.com>
+ * 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 <ettore@ximian.com>
+
* e-local-storage.c: Removed member `BonoboListener' from
`AsyncCreateFolderCallbackData' and
`AsyncRemoveFolderCallbackData'.
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