From 0d28595b66e2442c2c5ff073cf7cf85c227b3595 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Mon, 14 Oct 2013 08:30:22 +0100 Subject: [PATCH] Fix issue where randr dialog would crash when trying to close after cloning. Don't free the mode_info returned from mode find as this mode info is still part of the monitors collection of modes. Signed-off-by: Chris Michael --- src/modules/conf_randr/e_smart_monitor.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 4247fde1d..505aac921 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -575,8 +575,6 @@ e_smart_monitor_clone_set(Evas_Object *obj, Evas_Object *parent) _e_smart_monitor_mode_refresh_rate_get(mode_info); psd->changes |= E_SMART_MONITOR_CHANGED_MODE; - - ecore_x_randr_mode_info_free(mode_info); } else { @@ -615,8 +613,6 @@ e_smart_monitor_clone_set(Evas_Object *obj, Evas_Object *parent) _e_smart_monitor_mode_refresh_rate_get(mode_info); sd->changes |= E_SMART_MONITOR_CHANGED_MODE; - - ecore_x_randr_mode_info_free(mode_info); } else {