From 1a7d1e5f97465c38f5b6d2ad175104941598d0a5 Mon Sep 17 00:00:00 2001 From: Anand Date: Wed, 26 Nov 2014 07:35:03 +0900 Subject: [PATCH] config: Fixed null return. Reviewers: cedric, singh.amitesh, seoz Differential Revision: https://phab.enlightenment.org/D1663 --- legacy/elementary/src/bin/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/legacy/elementary/src/bin/config.c b/legacy/elementary/src/bin/config.c index 6661546222..7a5cf15fc9 100644 --- a/legacy/elementary/src/bin/config.c +++ b/legacy/elementary/src/bin/config.c @@ -2059,6 +2059,7 @@ _font_names_list_sel(void *data EINA_UNUSED, /* load styles list */ efp = eina_hash_find(fndata.font_hash, sel_font); + if (!efp) return; ELM_LIST_ENABLE(style_list); elm_list_clear(style_list);