From: Jay Freeman (saurik) Date: Wed, 4 Nov 2009 03:35:19 +0000 (+0000) Subject: Fixed a new Type_privateData NULL pool assert. X-Git-Tag: v0.9.432~192 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/4d5c4da4bd5821c7688a54519c02f56a01183664?ds=inline Fixed a new Type_privateData NULL pool assert. --- 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); }