http2: switch to use Curl_hash_destroy()

as after 4883f7019d, the *_clean() function only flushes the hash.
This commit is contained in:
Daniel Stenberg 2015-05-18 11:41:16 +02:00
parent 0b26b94bdc
commit 979670988a
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ static CURLcode http2_disconnect(struct connectdata *conn,
nghttp2_session_del(c->h2);
Curl_safefree(c->inbuf);
Curl_hash_clean(&c->streamsh);
Curl_hash_destroy(&c->streamsh);
DEBUGF(infof(conn->data, "HTTP/2 DISCONNECT done\n"));