Fixed prevent issue that causes dereference after null check. 95/9795/2
authorShawn Lee <shiin.lee@samsung.com>
Fri, 2 Aug 2013 06:22:29 +0000 (15:22 +0900)
committerShawn Lee <shiin.lee@samsung.com>
Fri, 2 Aug 2013 06:28:16 +0000 (15:28 +0900)
Change-Id: I8c84a72caa1201837b1c2a7d36eca34f552ac5fd

illume2-tizen/src/policies/illume/policy.c

index b15b1cd..0f07593 100644 (file)
@@ -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;
 }