1
0
mirror of https://git.kore.io/kore.git synced 2024-11-16 06:56:33 +01:00

missing va_end() in kore_pgsql_query_params().

from @fahlgren.
This commit is contained in:
Joris Vink 2016-05-16 09:25:37 +02:00
parent 5fe9512828
commit 3c9d2d5948

View File

@ -208,6 +208,9 @@ kore_pgsql_query_params(struct kore_pgsql *pgsql,
ret = KORE_RESULT_OK;
cleanup:
if (count > 0)
va_end(args);
kore_mem_free(values);
kore_mem_free(lengths);
kore_mem_free(formats);