Cleanup some memory returned from ecore_x_randr when we are done with

it.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84164
This commit is contained in:
Christopher Michael 2013-02-19 10:57:26 +00:00 committed by Christopher Michael
parent b5f6ae6d0d
commit 825ccb9256
1 changed files with 6 additions and 0 deletions

View File

@ -216,11 +216,17 @@ e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output)
default:
break;
}
/* free any memory allocated from ecore_x_randr */
free(edid);
}
/* set monitor name */
edje_object_part_text_set(sd->o_frame, "e.text.name", name);
/* free any memory allocated from ecore_x_randr */
free(name);
/* set the aspect hints */
evas_object_size_hint_aspect_set(sd->o_frame,
EVAS_ASPECT_CONTROL_BOTH, aw, ah);