aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/evolution-shell-client.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 89e52dac03..b99d8307e8 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2002-04-04 Dan Winship <danw@ximian.com>
+ * evolution-shell-client.c
+ (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup.
+
+2002-04-04 Dan Winship <danw@ximian.com>
+
* evolution-folder-selector-button.c: New widget for a button that
displays a folder selection in a standard form, and when clicked
lets the user select a new folder.
diff --git a/shell/evolution-shell-client.c b/shell/evolution-shell-client.c
index e04d4cf26e..45cd81b070 100644
--- a/shell/evolution-shell-client.c
+++ b/shell/evolution-shell-client.c
@@ -584,9 +584,9 @@ evolution_shell_client_get_pixbuf_for_type (EvolutionShellClient *shell_client,
g_hash_table_insert (shell_client->priv->icons,
hash_name, pixbuf);
- }
+ } else
+ g_free (hash_name);
- g_free (hash_name);
gdk_pixbuf_ref (pixbuf);
return pixbuf;
}