Commit bed25c67 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

fix memory leak in ubjson reader

parent 1542f34f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ ubjr_context_t* ubjr_open_callback(void* userdata,
size_t ubjr_close_context(ubjr_context_t* ctx)
{
	size_t n = ctx->total_read;
	free(ctx->userdata);
	free(ctx);
	return n;
}