On 3/28/22 18:15, Bernhard Kölbl wrote:
- impl = impl_from_IVector_HSTRING(*out);
- impl->size = 0;
- impl->capacity = capacity;
- impl->elements = realloc(impl->elements, impl->capacity * sizeof(*impl->elements));
You're not handling the allocation failure here, I think you should.