Skip to content

Commit b91c0d6

Browse files
committed
Resync
1 parent 5e28f36 commit b91c0d6

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

lists/string_list.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@ bool string_list_deinitialize(struct string_list *list)
109109
{
110110
if (!list)
111111
return false;
112-
return string_list_deinitialize_internal(list);
112+
if (!string_list_deinitialize_internal(list))
113+
return false;
114+
list->elems = NULL;
115+
list->size = 0;
116+
list->cap = 0;
117+
return true;
113118
}
114119

115120
/**

0 commit comments

Comments
 (0)