Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Jan 9, 2025
1 parent bf90656 commit 05d34f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
7 changes: 0 additions & 7 deletions Source/GSFFIInvocation.m
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,6 @@ - (id) initWithMethodSignature: (NSMethodSignature*)aSignature
return self;
}

- (void) dealloc
{
RELEASE(_frame);
RELEASE(_extra);
DEALLOC
}

/* Initializer used when we get a callback. uses the data provided by
the callback. The cifframe was allocated by the forwarding function,
but we own it now so we can free it */
Expand Down
13 changes: 2 additions & 11 deletions Source/NSConcretePointerFunctions.m
Original file line number Diff line number Diff line change
Expand Up @@ -308,17 +308,8 @@ - (id) initWithOptions: (NSPointerFunctionsOptions)options
break;

case NSPointerFunctionsOpaquePersonality:
if (NSPointerFunctionsMachVirtualMemory == memoryType
|| NSPointerFunctionsMallocMemory == memoryType)
{
_x.acquireFunction = acquireMallocMemory;
_x.relinquishFunction = relinquishMallocMemory;
}
else
{
_x.acquireFunction = 0;
_x.relinquishFunction = 0;
}
_x.acquireFunction = 0;
_x.relinquishFunction = 0;
_x.descriptionFunction = describePointer;
_x.hashFunction = hashShifted;
_x.isEqualFunction = equalDirect;
Expand Down

0 comments on commit 05d34f1

Please sign in to comment.