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.
The text was updated successfully, but these errors were encountered: