summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xrandr/msd-xrandr-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c
index 9f8a5a9..3629afe 100644
--- a/plugins/xrandr/msd-xrandr-manager.c
+++ b/plugins/xrandr/msd-xrandr-manager.c
@@ -870,7 +870,7 @@ make_laptop_setup (MateRRScreen *screen)
}
}
- if (config_is_all_off (result)) {
+ if (result && config_is_all_off (result)) {
mate_rr_config_free (result);
result = NULL;
}