Updating branch refs/heads/xrandr-display-settings
         to a94f4455bb8a9b8ca7163e521126eb96668142db (commit)
       from 868ed298775740ecf2a220bd7e8f128897de4914 (commit)

commit a94f4455bb8a9b8ca7163e521126eb96668142db
Author: Lionel Le Folgoc <mrpo...@gmail.com>
Date:   Tue Jun 22 19:41:42 2010 +0200

    make sure we don't free the not yet allocated modes

 dialogs/display-settings/xfce-randr.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dialogs/display-settings/xfce-randr.c 
b/dialogs/display-settings/xfce-randr.c
index 170292b..6782ecb 100644
--- a/dialogs/display-settings/xfce-randr.c
+++ b/dialogs/display-settings/xfce-randr.c
@@ -197,7 +197,10 @@ xfce_randr_populate (XfceRandr *randr,
         {
             /* make sure we don't free the not yet allocated outputs */
             for (n++; n < randr->resources->noutput; n++)
+            {
                 randr->output_info[n] = NULL;
+                randr->modes[n] = NULL;
+            }
 
             return FALSE;
         }
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to