From 823b81363a1145de4b8660153007b11faf4e2c56 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Thu, 2 Jun 2022 02:43:58 -0700 Subject: web: fix minor mem leaks and bugs --- web/web_misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'web/web_misc.h') diff --git a/web/web_misc.h b/web/web_misc.h index 9872181..0d75012 100644 --- a/web/web_misc.h +++ b/web/web_misc.h @@ -10,5 +10,6 @@ typedef struct bufstr { void bufstr_buf(bufstr *b, char *str); bool bufstr_changed(bufstr *b); char *bufstr_flush(bufstr *b); +void bufstr_clear(bufstr *b); #endif -- cgit v1.2.3-70-g09d2