summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/x11/curl_stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/x11/curl_stream.c b/platform/x11/curl_stream.c
index 4bce3527..5bf87de0 100644
--- a/platform/x11/curl_stream.c
+++ b/platform/x11/curl_stream.c
@@ -440,6 +440,8 @@ stream_close(fz_context *ctx, void *state_)
pthread_mutex_destroy(&state->mutex);
#endif
+ curl_easy_cleanup(state->handle);
+
fz_free(ctx, state->buffer);
fz_free(ctx, state->map);
fz_free(ctx, state);