On Mon, 3 Jan 2011, Shivanand wrote:
I am using libcurl 7.19.0 for my application.
I am getting a memory leak from multi_perform Please let me know if the leak that I am getting is a real problem.
I don't recall any such leak, but if valgrind says it was leaked then it probably was! Feel free to dig into changelogs and the commit history to see if it has been adressed explicitly and how.
If it is not fixed, I request you to please look into this matter as this could be a true leak. I dont have much understanding of libcurl code, so I could not help much. I am sorry for that.
Can you please provide a small sample app that makes the leak occur with a current libcurl?
Can I add the code from latest version regarding free of data->req.newurl and build the old libcurl with this patch so that I dont have to change much. Will this leak be fixed if I do that??
I don't know and I don't have the time or energy to dig into that old version. If valgrind stops complaining and your code still runs as expected, I would say it is a good indication the leak was fixed in a decent way.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
