[gjs/wip/xulrunner-1.9.3-rebase5: 12/26] jsapi-util-error: Add missing JS_EndRequest pair
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/xulrunner-1.9.3-rebase5: 12/26] jsapi-util-error: Add missing JS_EndRequest pair
- Date: Thu, 23 Sep 2010 00:05:03 +0000 (UTC)
commit c3ce9ea8ade7dab74f66bdbecce62edffe63c826
Author: Colin Walters <walters verbum org>
Date: Wed Sep 22 14:08:13 2010 -0400
jsapi-util-error: Add missing JS_EndRequest pair
Just found by visual auditing while looking for mismatched pairs.
gjs/jsapi-util-error.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gjs/jsapi-util-error.c b/gjs/jsapi-util-error.c
index 92a7751..7d89b07 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]