ecore-x: Fix build error in xcb

Summary: If we do not get the property we are looking for here, then
reset the Proper variable to 0. This fixes a build break.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-27 10:34:34 -05:00
parent c466fc7d53
commit 7bf29561e6
1 changed files with 1 additions and 1 deletions

View File

@ -2131,7 +2131,7 @@ ecore_x_e_window_rotation_available_rotations_get(Ecore_X_Window win,
val = calloc(num, sizeof(int));
if (!val)
{
*counter = 0;
*count = 0;
if (data) free(data);
return EINA_FALSE;
}