diff --git a/main.c b/main.c index 692886a..bb9a346 100644 --- a/main.c +++ b/main.c @@ -184,6 +184,7 @@ static void __exit khttpd_exit(void) send_sig(SIGTERM, http_server, 1); kthread_stop(http_server); close_listen_socket(listen_socket); + mempool_destroy(http_buf_pool); pr_info("module unloaded\n"); }