diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hotkey.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hotkey.c b/src/hotkey.c index 7b3008a..10d5f5e 100644 --- a/src/hotkey.c +++ b/src/hotkey.c @@ -197,10 +197,12 @@ void free_mode_map(struct table *mode_map) for (int i = 0; i < buf_len(hotkey->process_name); ++i) { free(hotkey->process_name[i]); } + buf_free(hotkey->process_name); for (int i = 0; i < buf_len(hotkey->command); ++i) { free(hotkey->command[i]); } + buf_free(hotkey->command); free(hotkey); next:; |