From 22c44d49c74e48914bed89d8526af30ab43e1700 Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Thu, 26 Dec 2024 16:01:55 +0100 Subject: browse: fix memory leak --- browse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'browse.c') diff --git a/browse.c b/browse.c index b8a90d5..6cd0fd6 100644 --- a/browse.c +++ b/browse.c @@ -234,6 +234,7 @@ file_template_callback(size_t index, void *arg) break; } K_OK(khtml_puts(html, basename), r); + free(basename); break; case 2: /* url */ -- cgit v1.2.3