Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Memory leakage when rejecting HTTP2 server push stream #1229
I did this
I've copied the code form https://curl.haxx.se/libcurl/c/http2-serverpush.html. And just return CURL_PUSH_DENY in server_push_callback() to test if can reject server push steam. All is fine except that valgrind complains about memory leakage.
I expected the following
No memory leakage even rejecting server push stream.
Fedora 19, x86_64
I think better to destroy the following 2 pointers when failure or rejecting steam.