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
1 changed files with 3 additions and 0 deletions

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);