From 06a85fca4d37bc37337a682f62f1c783ecb4a7c0 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Tue, 10 Dec 2013 20:35:45 +0100 Subject: [PATCH] e: check for NULL value in parameter CID 1040146 --- src/bin/e_container.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_container.c b/src/bin/e_container.c index 927987901..636fef7c4 100644 --- a/src/bin/e_container.c +++ b/src/bin/e_container.c @@ -309,6 +309,7 @@ e_container_desk_window_profile_get(E_Container *con, E_OBJECT_CHECK_RETURN(con, NULL); E_OBJECT_TYPE_CHECK_RETURN(con, E_CONTAINER_TYPE, NULL); + if (!profile) return NULL; EINA_LIST_FOREACH(con->zones, l, zone) {