Mailing Lists
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1368 cacertinmem.c sample memory leak
From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Fri, 09 May 2014 11:35:26 +0000
- **status**: open --> closed-fixed
Execellent and thanks a lot! The fix has been committed and pushed. Case closed!
--- ** [bugs:#1368] cacertinmem.c sample memory leak** **Status:** closed-fixed **Created:** Thu May 08, 2014 01:47 PM UTC by Marko **Last Updated:** Fri May 09, 2014 09:19 AM UTC **Owner:** Daniel Stenberg While investigating a memory leak in our application, I discovered that "sslctx_function" callback that was implemented following the cacertinmem.c sample was causing it. After X509_STORE_add_cert, X509_free(cert) should be called, as X509_STORE_add_cert increments reference count. Also, BIO_free(bio) must be called. --- Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.Received on 2014-05-09 These mail archives are generated by hypermail. |
Page updated March 21, 2014.
web site info