Skip to content

Commit

Permalink
Fixed dangling AAssetDir pointer on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
triplef committed Jan 30, 2024
1 parent 3bc0a58 commit 524a0c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/NSFileManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -2946,6 +2946,9 @@ - (id) nextObject

item.ext.path = RETAIN(returnFileName);
item.ext.pointer = dir_pointer;
#ifdef __ANDROID__
item.ext.assetDir = NULL;
#endif

GSIArrayAddItem(_stack, item);
}
Expand Down

0 comments on commit 524a0c4

Please sign in to comment.