Skip to content

Commit

Permalink
tools: fix a memleak in list-local-devices
Browse files Browse the repository at this point in the history
  • Loading branch information
whot committed Feb 5, 2024
1 parent 403051f commit 29e8a6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/list-local-devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ tablet_destroy(gpointer data)

libwacom_destroy(d->dev);
g_list_free_full(d->nodes, free);
free(data);
};

/* Note: users with two identical devices plugged in will see
Expand Down

0 comments on commit 29e8a6e

Please sign in to comment.