[gjs] jsapi-util-error: Add missing JS_EndRequest pair



commit 9d77d6070979f431a3c07b3dbd5993fa9262c017
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=630423

 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]