[PATCH 5/5] windows.media.speech: Store speech commands in listconstraint.
Rémi Bernon
rbernon at codeweavers.com
Mon Mar 28 14:58:32 CDT 2022
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.
--
Rémi Bernon <rbernon at codeweavers.com>
More information about the wine-devel
mailing list