Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions IMSHandler/IMSMemoryManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ inline BOOL handleType(NSObject* obj, NSString* pass, traversalFunc f) {
}
}

NSLog(@"Done with type handler %@\n\n", ret?@"YES":@"NO");
return ret;
}

Expand All @@ -180,14 +179,10 @@ extern inline BOOL wipeWrapper(NSObject* obj, NSString* ignore) {

// Return NO if wipe failed
extern inline BOOL wipe(NSObject* obj) {
NSLog(@"Object pointer: %p", obj);
if(handleType(obj, @"", &wipeWrapper) == YES) {
if (getSize(obj) > 0){
NSLog(@"WIPE OBJ");
memset(getStart(obj), 0, getSize(obj));
}
else
NSLog(@"WIPE: Unsupported Object.");
}
return YES;
}
Expand Down