mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 12:09:51 +00:00
Fix O2PDFxref only keeping a weak reference to its contents
This commit is contained in:
parent
d6dd5d543c
commit
53400f1021
@ -23,7 +23,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
_data=[data retain];
|
||||
_previous=nil;
|
||||
_numberToEntries=NSCreateMapTable(NSIntegerMapKeyCallBacks,NSNonRetainedObjectMapValueCallBacks,0);
|
||||
_entryToObject=NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks,NSNonRetainedObjectMapValueCallBacks,0);
|
||||
_entryToObject=NSCreateMapTable(NSNonRetainedObjectMapKeyCallBacks,NSObjectMapValueCallBacks,0);
|
||||
_entriesInOrder=[NSMutableArray new];
|
||||
_trailer=nil;
|
||||
return self;
|
||||
|
Loading…
Reference in New Issue
Block a user