#13 Tiny memory leak in util_curl_init()

Unstable_(example)
closed-accepted
nobody
None
5
2013-05-30
2011-07-21
Wim Lewis
No

Each time a new Curl object is created util_curl_init() leaks a small string buffer. The attached patch fixes the leak --- curl_easy_setopt() strdup's its argument; the caller does not need to keep the buffer around for it. This is a patch against the current CVS HEAD.

Discussion

  • Wim Lewis

    Wim Lewis - 2011-07-21

    Patch to fix memory leak

     
  • Oleg Pudeyev

    Oleg Pudeyev - 2013-05-30
    • status: open --> closed-accepted
    • Group: --> Unstable_(example)
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks