aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-18 11:41:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 11:41:16 +0200
commit979670988a4a3bbed2d77e48541f06e781a19ac1 (patch)
treecadf2b508c84bcca4ea134db64addb0a114f7761
parent0b26b94bdc2c28da0443503305ee9670b01c1337 (diff)
http2: switch to use Curl_hash_destroy()
as after 4883f7019d3, the *_clean() function only flushes the hash.
-rw-r--r--lib/http2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.c b/lib/http2.c
index d50f1731e..961750c7e 100644
--- a/lib/http2.c
+++ b/lib/http2.c
@@ -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"));