summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2015-11-16 14:07:26 +0200
committerDaniel Zaoui <daniel.zaoui@samsung.com>2015-11-16 14:07:26 +0200
commita8f705200f4568fe8c8bee22cf6678b10d352932 (patch)
tree6f48dc7c6f79a1e066d47d737b43ab9beeb7fa09
parent322fc2fb7701e3c4ce44b0da3dee32940e37b2c8 (diff)
Fix crash when main is NULL
-rw-r--r--src/lib/eolian_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eolian_debug.c b/src/lib/eolian_debug.c
index 1d45246..383faf3 100644
--- a/src/lib/eolian_debug.c
+++ b/src/lib/eolian_debug.c
@@ -289,6 +289,7 @@ EAPI void
289eolian_debug_object_information_free(Eolian_Debug_Object_Information *main) 289eolian_debug_object_information_free(Eolian_Debug_Object_Information *main)
290{ 290{
291 Eolian_Debug_Class *kl; 291 Eolian_Debug_Class *kl;
292 if (!main) return;
292 EINA_LIST_FREE(main->classes, kl) 293 EINA_LIST_FREE(main->classes, kl)
293 { 294 {
294 Eolian_Debug_Function *func; 295 Eolian_Debug_Function *func;