One more uninitialized value

encode_key may be release when not initialized if va_args returns null
on the first while loop.

License: MIT
Signed-off-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
Simo Sorce 2014-06-11 21:13:58 -04:00 committed by Benjamin Dauvergne
parent 99376a3c88
commit d911a2092f
1 changed files with 1 additions and 1 deletions

View File

@ -1931,7 +1931,7 @@ lasso_url_add_parameters(char *url,
gboolean free, ...)
{
char *old_url = url, *new_url = NULL;
xmlChar *encoded_key, *encoded_value;
xmlChar *encoded_key = NULL, *encoded_value;
va_list ap;
va_start(ap, free);