summaryrefslogtreecommitdiff
path: root/web/web_misc.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-06-02 02:43:58 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-06-02 02:43:58 -0700
commit823b81363a1145de4b8660153007b11faf4e2c56 (patch)
tree09d9c70e232c1b98ec8447cae6b6618bcd91497d /web/web_misc.h
parent1db534799ef5b41114d80fce0c38f1c93235a8a3 (diff)
downloaddartboat-823b81363a1145de4b8660153007b11faf4e2c56.tar.gz
dartboat-823b81363a1145de4b8660153007b11faf4e2c56.tar.xz
web: fix minor mem leaks and bugs
Diffstat (limited to 'web/web_misc.h')
-rw-r--r--web/web_misc.h1
1 files changed, 1 insertions, 0 deletions
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