forked from enlightenment/enlightenment
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:
parent
b5f6ae6d0d
commit
825ccb9256
|
@ -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