Fix the prevent issue
authorChoi Munseok <ms47.choi@samsung.com>
Tue, 9 Apr 2013 10:02:49 +0000 (19:02 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Tue, 9 Apr 2013 10:02:49 +0000 (19:02 +0900)
Change-Id: Ifa9f17a3c6c0ac50713a7e5dbcdae2fea490647d
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_EcoreEvas.cpp

index c5063b9..ddbeb0a 100644 (file)
@@ -2418,6 +2418,7 @@ _EcoreEvas::SetWindowAvailabledRotation(const _Window& window, int* rotations, u
        int* prevRotations = null;
        unsigned int prevCount = 0;
        Eina_Bool ret = ecore_evas_wm_rotation_available_rotations_get(pLayer->GetEcoreEvas(), &prevRotations, &prevCount);
+       free(prevRotations);
 
        if (ret)
        {