[client] overlay: clean up partial initialization

This commit is contained in:
Geoffrey McRae
2026-08-12 02:57:42 +10:00
parent 6ddf1d62cd
commit ebc9d076ec
7 changed files with 40 additions and 21 deletions

View File

@@ -51,6 +51,9 @@ StringList stringlist_new(bool owns_strings)
void stringlist_free(StringList * sl)
{
if (!sl || !*sl)
return;
stringlist_clear(*sl);
vector_destroy(&(*sl)->vector);