mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[client] overlay: clean up partial initialization
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user