http2: cleanup pushed newhandle on fail
No binary (build failed)
—
(log yok)
| @@ -1030,6 +1030,7 @@ static int push_promise(struct Curl_cfilter *cf, | |
| infof(data, "failed to set user_data for stream %u", | |
| newstream->id); | |
| DEBUGASSERT(0); | |
| + | discard_newhandle(cf, newhandle); |
| rv = CURL_PUSH_DENY; | |
| goto fail; | |
| } | |