diff --git a/src/ssb.js.c b/src/ssb.js.c index 6cb600f8..04e34e88 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -2281,6 +2281,7 @@ static void _tf_ssb_get_blocks_after_work(tf_ssb_t* ssb, int status, void* user_ JS_FreeValue(context, error); JS_FreeValue(context, work->promise[0]); JS_FreeValue(context, work->promise[1]); + tf_free(work->blocks); tf_free(work); }