From 02dee9478c2416e88922698bf81b7eb9152b9374 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 4 Apr 2002 22:32:12 +0000 Subject: Fix a memory mixup. * evolution-shell-client.c (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup. svn path=/trunk/; revision=16359 --- shell/ChangeLog | 5 +++++ shell/evolution-shell-client.c | 4 ++-- 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,3 +1,8 @@ +2002-04-04 Dan Winship + + * evolution-shell-client.c + (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup. + 2002-04-04 Dan Winship * evolution-folder-selector-button.c: New widget for a button that 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; } -- cgit