diff options
author | monsta <[email protected]> | 2014-11-02 12:25:07 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-28 09:37:34 +0100 |
commit | 2d1ef43c9ba6e41a173dff81485441613cf518b6 (patch) | |
tree | 707b090d38efe86330d2f7a02da81ad44057a215 | |
parent | 1d568e8f925a24a88422e74afc65405fbf171e3a (diff) | |
download | mate-settings-daemon-2d1ef43c9ba6e41a173dff81485441613cf518b6.tar.bz2 mate-settings-daemon-2d1ef43c9ba6e41a173dff81485441613cf518b6.tar.xz |
fix possible dereference of NULL pointer
-rw-r--r-- | plugins/xrandr/msd-xrandr-manager.c | 2 |
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; } |