diff --git a/src/run-js-test.c b/src/run-js-test.c index bd76d9568..5fb077c2d 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -127,6 +127,7 @@ main(int argc, char **argv) gjs_context_gc (js_context); gjs_context_gc (js_context); + g_object_unref (js_context); g_free (script); exit (code); }