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:
parent
99376a3c88
commit
d911a2092f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue