Commit c837cf8d authored by Peter Hutterer's avatar Peter Hutterer

tools: free the tap data on error

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 5ba30f7b
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment