Backport: 825ccb9 :: 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
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
This commit is contained in:
Christopher Michael 2013-02-19 10:57:26 +00:00 committed by Deon Thomas
parent 65b0455109
commit 00eac610e4
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);