Mailing Lists
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1368 cacertinmem.c sample memory leak
From: Marko <marknav_at_users.sf.net>
Date: Fri, 09 May 2014 09:19:40 +0000
Sorry, I replied to a mail and it seems that attachments were removed by mailing list.
Attachment: cacertinmem.c (6.9 kB; text/plain)
--- ** [bugs:#1368] cacertinmem.c sample memory leak** **Status:** open **Created:** Thu May 08, 2014 01:47 PM UTC by Marko **Last Updated:** Fri May 09, 2014 09:03 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