summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-06-11 21:13:58 -0400
committerSimo Sorce <simo@redhat.com>2014-06-11 21:14:51 -0400
commit41860c6a232675d2f056e84c92741acedad429ad (patch)
treeb708e163b58681a4dbc347564106b1c56e9bf2f4
parent6c28425d7ea6ccb9ce677ed47126f01699119e88 (diff)
downloadlasso-wip.tar.gz
lasso-wip.tar.xz
lasso-wip.zip
One more uninitialized valuewip
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>
-rw-r--r--lasso/xml/tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c
index 1af3cbd0..29e74b86 100644
--- a/lasso/xml/tools.c
+++ b/lasso/xml/tools.c
@@ -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);