Skip to content
Snippets Groups Projects

VLCLibrary: add autoreleasepool for NSString

Merged Alexandre Janniaux requested to merge alexandre-janniaux/VLCKit:autorelease-logs/1 into master

[NSString stringWithUTF8String] is allocated strings from the current autorelease pool, but none are being defined here and from the call stack. Since we wrap the strings in another object not allocated in the autorelease pool, we can just locally setup the autoreleasepool while creating the object.

Fix memory leaks when logs are going on.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading