Fix leaked FFI structure argument/returntype information

This commit is contained in:
rfm 2024-11-15 15:43:47 +00:00
parent 2f9f0d6761
commit bdad4987ae
6 changed files with 79 additions and 59 deletions

View file

@ -70,6 +70,7 @@
- (void) dealloc
{
DESTROY(frame);
DESTROY(extra);
if (size > 0)
{
#if defined(HAVE_FFI_PREP_CLOSURE_LOC)
@ -173,9 +174,10 @@
#endif
}
- (void) setFrame: (id)aFrame
- (void) setFrame: (id)aFrame extra: (NSPointerArray*)pa
{
ASSIGN(frame, aFrame);
ASSIGN(extra, pa);
}
@end