ssb: Plug a leak.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 9m43s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 9m43s
This commit is contained in:
@@ -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, error);
|
||||||
JS_FreeValue(context, work->promise[0]);
|
JS_FreeValue(context, work->promise[0]);
|
||||||
JS_FreeValue(context, work->promise[1]);
|
JS_FreeValue(context, work->promise[1]);
|
||||||
|
tf_free(work->blocks);
|
||||||
tf_free(work);
|
tf_free(work);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user