diff options
author | adnano <me@adnano.co> | 2024-05-02 18:45:49 -0400 |
---|---|---|
committer | adnano <me@adnano.co> | 2024-05-02 18:45:49 -0400 |
commit | 1f221a73cf290ff509ef6c066ff692bb48f8625e (patch) | |
tree | abdd724cff64843e2dd5de22934d8d2d68ac5e37 /main.c | |
parent | 6284eea24b44d05260f96fe842fa9dd752185942 (diff) | |
download | wmenu-1f221a73cf290ff509ef6c066ff692bb48f8625e.tar.gz |
Fix destruction of pool buffers
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,7 @@ #define _POSIX_C_SOURCE 200809L +#include <string.h> + #include "menu.h" #include "wayland.h" @@ -20,5 +22,7 @@ int main(int argc, char *argv[]) { if (!menu->passwd) { read_items(menu); } - return menu_run(menu); + int status = menu_run(menu); + menu_destroy(menu); + return status; } |