diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-13 08:33:12 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-06-13 08:33:12 +1000 |
commit | c837cf8d783a7d2a4690c21349cb065921c60aad (patch) | |
tree | e64feff36c8500f7a06a0c5c50f370d6af083830 /tools | |
parent | 5ba30f7b42dde1b43086158c8b3ee826421c1f26 (diff) |
tools: free the tap data on error
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libinput-measure-touchpad-tap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libinput-measure-touchpad-tap.c b/tools/libinput-measure-touchpad-tap.c index 85cfc1c..6b8499c 100644 --- a/tools/libinput-measure-touchpad-tap.c +++ b/tools/libinput-measure-touchpad-tap.c @@ -507,7 +507,8 @@ main(int argc, char **argv) else print_statistics(tap_data); - tap_data_free(&tap_data); out: + tap_data_free(&tap_data); + return rc; } |