From f67dada4b9f4c54ed3c611cbfb2805bb6e5d2723 Mon Sep 17 00:00:00 2001 From: Shawn Lee Date: Fri, 2 Aug 2013 15:22:29 +0900 Subject: [PATCH] Fixed prevent issue that causes dereference after null check. Change-Id: I8c84a72caa1201837b1c2a7d36eca34f552ac5fd --- illume2-tizen/src/policies/illume/policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/illume2-tizen/src/policies/illume/policy.c b/illume2-tizen/src/policies/illume/policy.c index b15b1cd..0f07593 100644 --- a/illume2-tizen/src/policies/illume/policy.c +++ b/illume2-tizen/src/policies/illume/policy.c @@ -6657,7 +6657,7 @@ _policy_dependent_rotation_check(E_Border *bd, int rotation) end: if (!ret) - ELBF(ELBT_ROT, 0, bd->client.win, + ELBF(ELBT_ROT, 0, bd ? bd->client.win : NULL, "[DEPENDENT] Couldn't or don't need to rotate it as given angle:%d", rotation); return ret; } -- 2.7.4