Skip to content
Snippets Groups Projects
Commit c6483b96 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix memleak in xlog_cursor_decompress()

parent aeec8699
No related branches found
No related tags found
No related merge requests found
......@@ -1232,6 +1232,7 @@ xlog_cursor_decompress(struct ibuf *rows, const char **data,
}
}
*data = data_end;
ZSTD_freeDStream(zdctx);
return 0;
error:
ZSTD_freeDStream(zdctx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment