[Xfce4-commits] <xfce4-settings:bluesabre/display-settings> Fix crash when using dualhead with separate xscreens (Bug #9389)
Simon Steinbeiss
noreply at xfce.org
Mon Oct 22 10:36:01 CEST 2012
Updating branch refs/heads/bluesabre/display-settings
to 9f6e2a00655297136389bc8211f5552d909f299c (commit)
from b259340a157bcec94152279c8efd17845e26af7e (commit)
commit 9f6e2a00655297136389bc8211f5552d909f299c
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Mon Oct 22 10:34:06 2012 +0200
Fix crash when using dualhead with separate xscreens (Bug #9389)
xfsettingsd/displays.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c
index 9f01694..3d5e0f0 100644
--- a/xfsettingsd/displays.c
+++ b/xfsettingsd/displays.c
@@ -488,7 +488,7 @@ xfce_displays_helper_channel_apply (XfceDisplaysHelper *helper,
&min_width, &min_height, &max_width, &max_height))
{
g_critical ("Unable to get the range of screen sizes, aborting.");
- goto err_cleanup;
+ goto err_abort;
}
/* get all existing CRTCs */
@@ -818,6 +818,7 @@ err_cleanup:
}
g_free (crtcs);
+err_abort:
/* free the screen resources */
XRRFreeScreenResources (resources);
More information about the Xfce4-commits
mailing list