forked from enlightenment/enlightenment
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:
parent
65b0455109
commit
00eac610e4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue