diff options
Diffstat (limited to 'plugins/common/msd-input-helper.c')
-rw-r--r-- | plugins/common/msd-input-helper.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/common/msd-input-helper.c b/plugins/common/msd-input-helper.c index 5434014..05fad76 100644 --- a/plugins/common/msd-input-helper.c +++ b/plugins/common/msd-input-helper.c @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 2010 Bastien Nocera <[email protected]> + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -120,8 +121,8 @@ touchpad_is_present (void) break; } } - if (device_info != NULL) - XFreeDeviceList (device_info); + + XFreeDeviceList (device_info); return retval; } |