aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-icon-factory.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-22 14:42:09 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-22 14:42:09 +0800
commit5a9741bb36bee05f95bde6b60a984282dfef1153 (patch)
treeccac0696d8ad1db348b0a64a7c66c325effe6ebc /e-util/e-icon-factory.c
parentabb9648eb5ab7a4cceadbf5054a794a84c9fe3cb (diff)
downloadgsoc2013-evolution-5a9741bb36bee05f95bde6b60a984282dfef1153.tar.gz
gsoc2013-evolution-5a9741bb36bee05f95bde6b60a984282dfef1153.tar.zst
gsoc2013-evolution-5a9741bb36bee05f95bde6b60a984282dfef1153.zip
make sure we unlock if we fail to find an icon.
2004-04-22 Not Zed <NotZed@Ximian.com> * e-icon-factory.c (e_icon_factory_get_icon_list): make sure we unlock if we fail to find an icon. svn path=/trunk/; revision=25577
Diffstat (limited to 'e-util/e-icon-factory.c')
-rw-r--r--e-util/e-icon-factory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/e-util/e-icon-factory.c b/e-util/e-icon-factory.c
index 425e03c5ab..1a74c34ff0 100644
--- a/e-util/e-icon-factory.c
+++ b/e-util/e-icon-factory.c
@@ -257,6 +257,7 @@ e_icon_factory_get_icon_list (const char *icon_name)
icon = icon_new (icon_name, NULL);
g_hash_table_insert (name_to_icon, icon->name, icon);
+ pthread_mutex_unlock(&lock);
return NULL;
} else {
g_hash_table_insert (name_to_icon, icon->name, icon);