Skip to content

Commit

Permalink
bindings: Do not leak last_timestamps hash table
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
  • Loading branch information
sardemff7 committed Apr 21, 2023
1 parent c2f01d5 commit 09ca429
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bindings.c
Original file line number Diff line number Diff line change
Expand Up @@ -922,6 +922,8 @@ _nk_bindings_seat_free(gpointer data)

_nk_bindings_seat_free_on_release(self, NULL, FALSE);

g_hash_table_unref(self->last_timestamps);

xkb_keymap_unref(self->keymap);
xkb_state_unref(self->state);

Expand Down

0 comments on commit 09ca429

Please sign in to comment.