[gjs/wip/xulrunner-1.9.3-rebase5: 13/26] jsapi-util-string: Add missing JS_EndRequest
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/xulrunner-1.9.3-rebase5: 13/26] jsapi-util-string: Add missing JS_EndRequest
- Date: Thu, 23 Sep 2010 00:05:08 +0000 (UTC)
commit 8f20daa8a9ffe5a2113e105d167521d43f9f1102
Author: Colin Walters <walters verbum org>
Date: Wed Sep 22 14:10:04 2010 -0400
jsapi-util-string: Add missing JS_EndRequest
Found by visual inspection.
gjs/jsapi-util-string.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gjs/jsapi-util-string.c b/gjs/jsapi-util-string.c
index d3ae73b..729ac9c 100644
--- a/gjs/jsapi-util-string.c
+++ b/gjs/jsapi-util-string.c
@@ -317,6 +317,7 @@ gjs_string_get_binary_data(JSContext *context,
if (!JSVAL_IS_STRING(value)) {
gjs_throw(context,
"Value is not a string, can't return binary data from it");
+ JS_EndRequest(context);
return JS_FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]