cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] vauth: Fixed memory leak due to function returning without free

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jul 2016 23:23:24 +0200 (CEST)

On Wed, 20 Jul 2016, Saurav Babu wrote:

> This patch allocates memory to "output_token" only when it is required
> so that memory is not leaked if function returns.

Thanks, merged in commit dcdd4be3521 just now!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-20