From 4d5c4da4bd5821c7688a54519c02f56a01183664 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 4 Nov 2009 03:35:19 +0000 Subject: [PATCH] Fixed a new Type_privateData NULL pool assert. --- Library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library.cpp b/Library.cpp index 2289e37..10673e6 100644 --- a/Library.cpp +++ b/Library.cpp @@ -1078,7 +1078,7 @@ static JSValueRef Functor_callAsFunction(JSContextRef context, JSObjectRef objec } static JSObjectRef CYMakeType(JSContextRef context, const char *type) { - Type_privateData *internal(new Type_privateData(NULL, type)); + Type_privateData *internal(new Type_privateData(type)); return JSObjectMake(context, Type_privateData::Class_, internal); } -- 2.49.0