diff -uprN ./http.c ../Pound-1.10_auth_leak_fix/http.c --- ./http.c 2006-02-01 12:22:03.000000000 +0100 +++ ../Pound-1.10_auth_leak_fix/http.c 2006-05-23 01:05:32.000000000 +0200 @@ -812,10 +812,10 @@ thr_http(void *arg) BIO_write(bb, "\n", 1); if((inlen = BIO_read(b64, buf, MAXBUF - 1)) <= 0) { logmsg(LOG_WARNING, "Can't read BIO_f_base64"); - BIO_free(b64); + BIO_free_all(b64); continue; } - BIO_free(b64); + BIO_free_all(b64); if((mh = strchr(buf, ':')) == NULL) { logmsg(LOG_WARNING, "Unknown authentication"); continue;