fae288e manager: Don't double-free x11_display_name

1 file Authored by Jan Alexander Steffens (heftig) 9 years ago, Committed by rstrode 9 years ago,
    manager: Don't double-free x11_display_name
    
    x11_display_name got freed twice here; once by g_variant_iter_loop
    and once by g_clear_pointer.
    
    Also break out of the loop early and use a non-copying format to
    avoid having to free anything.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=747310
    
        
file modified
+5 -3