Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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

     
    Attachments
  • Oleg Pudeyev
    Oleg Pudeyev
    2013-05-30

    • status: open --> closed-accepted
    • Group: --> Unstable_(example)