version 7.19.5, 7.19.4
Valgrind hinted me to memory leaks in lib/cookie.c with my application.
The appended patch stuffed them for me.
Patch for lib/cookie.c
oh, do you by any chance receive cookies with multiple domain and path properties? Or how did you end up with a leak for these?
cookie leak fix with strstore()
Assuming that was the case, can you give me your opinion on my suggested fix for this as I just attached here?
Thanks, this helps as well.
I suggest changing the type of the second argument of strstore() to const char * to get rid of those compiler warnings.
Thanks, I did that and committed this fix just now. If you tell me your full name I'll give you the proper credit for this find in the changelog etc.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.