summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-09-22 14:08:13 -0400
committerColin Walters <walters@verbum.org>2010-09-23 14:12:50 -0400
commit9d77d6070979f431a3c07b3dbd5993fa9262c017 (patch)
tree8e673dbaef0fde94bdf2f786faf2de8668e57b83
parentdaa1efbba4aabe33856546daf4d52de5f6c751d3 (diff)
downloadgjs-9d77d6070979f431a3c07b3dbd5993fa9262c017.tar.gz
jsapi-util-error: Add missing JS_EndRequest pair
Just found by visual auditing while looking for mismatched pairs. https://bugzilla.gnome.org/show_bug.cgi?id=630423
-rw-r--r--gjs/jsapi-util-error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gjs/jsapi-util-error.c b/gjs/jsapi-util-error.c
index 92a77519..7d89b07d 100644
--- a/gjs/jsapi-util-error.c
+++ b/gjs/jsapi-util-error.c
@@ -70,6 +70,7 @@ gjs_throw_valist(JSContext *context,
"Ignoring second exception: '%s'",
s);
g_free(s);
+ JS_EndRequest(context);
return;
}