From: Adam Dickmeiss Date: Wed, 20 Jul 2011 09:02:13 +0000 (+0200) Subject: ZOOM C: fix un-init var for cookie buffer X-Git-Tag: v4.2.5~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=aaddb3668a93e2048e2237463a375ec3f48b68bb;p=yaz-moved-to-github.git ZOOM C: fix un-init var for cookie buffer --- diff --git a/src/zoom-c.c b/src/zoom-c.c index 77aa3e5..d6821d6 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -1507,7 +1507,7 @@ static zoom_ret send_HTTP_redirect(ZOOM_connection c, const char *uri, { struct Z_HTTP_Header *h; Z_GDU *gdu = get_HTTP_Request_url(c->odr_out, uri); - char *combined_cookies; + char *combined_cookies = 0; int combined_cookies_len = 0; gdu->u.HTTP_Request->method = odr_strdup(c->odr_out, "GET");