aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-client.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-05 06:32:12 +0800
committerDan Winship <danw@src.gnome.org>2002-04-05 06:32:12 +0800
commit02dee9478c2416e88922698bf81b7eb9152b9374 (patch)
tree66e62552de9590ced95551c8072602cfa4f1254d /shell/evolution-shell-client.c
parent9bd77403270d146798a637fbf32dec6733abf4f1 (diff)
downloadgsoc2013-evolution-02dee9478c2416e88922698bf81b7eb9152b9374.tar
gsoc2013-evolution-02dee9478c2416e88922698bf81b7eb9152b9374.tar.gz
gsoc2013-evolution-02dee9478c2416e88922698bf81b7eb9152b9374.tar.bz2
gsoc2013-evolution-02dee9478c2416e88922698bf81b7eb9152b9374.tar.lz
gsoc2013-evolution-02dee9478c2416e88922698bf81b7eb9152b9374.tar.xz
gsoc2013-evolution-02dee9478c2416e88922698bf81b7eb9152b9374.tar.zst
gsoc2013-evolution-02dee9478c2416e88922698bf81b7eb9152b9374.zip
Fix a memory mixup.
* evolution-shell-client.c (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup. svn path=/trunk/; revision=16359
Diffstat (limited to 'shell/evolution-shell-client.c')
-rw-r--r--shell/evolution-shell-client.c4
1 files changed, 2 insertions, 2 deletions
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;
}