Commit 97967098 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

http2: switch to use Curl_hash_destroy()

as after 4883f701, the *_clean() function only flushes the hash.
parent 0b26b94b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"));