summaryrefslogtreecommitdiff
path: root/plugins/common/msd-input-helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/common/msd-input-helper.c')
-rw-r--r--plugins/common/msd-input-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/common/msd-input-helper.c b/plugins/common/msd-input-helper.c
index 5434014..641c51c 100644
--- a/plugins/common/msd-input-helper.c
+++ b/plugins/common/msd-input-helper.c
@@ -120,8 +120,8 @@ touchpad_is_present (void)
break;
}
}
- if (device_info != NULL)
- XFreeDeviceList (device_info);
+
+ XFreeDeviceList (device_info);
return retval;
}