Changeset 266577 in webkit
- Timestamp:
- Sep 3, 2020, 10:19:20 PM (5 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/glib/JSCValue.cpp
r254331 r266577 1011 1011 auto result = jsObjectCall(jsContext, function, JSC::JSCCallbackFunction::Type::Method, object, arguments, &exception); 1012 1012 if (jscContextHandleExceptionIfNeeded(priv->context.get(), exception)) 1013 jsc_value_new_undefined(priv->context.get());1013 return jsc_value_new_undefined(priv->context.get()); 1014 1014 1015 1015 return jscContextGetOrCreateValue(priv->context.get(), result).leakRef(); -
trunk/Source/JavaScriptCore/ChangeLog
r266567 r266577 1 2020-09-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Unreviewed. [GLIB] Add missing return 4 5 There's no change in behavior because jsObjectCall() returns undefined in case of failure, but fixes a memory leak. 6 7 * API/glib/JSCValue.cpp: 8 (jsc_value_object_invoke_methodv): 9 1 10 2020-09-02 Yusuke Suzuki <ysuzuki@apple.com> 2 11
Note:
See TracChangeset
for help on using the changeset viewer.