Welcome, Guest
Username Password: Remember me

Static Analyzer "Potential Leaks"
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Static Analyzer "Potential Leaks"

Static Analyzer "Potential Leaks" 1 year, 4 months ago #1

Looks like there are some leaks in some of the STV code. Using the static analyzer -


Example:

SCTableViewCell.m line 2970 (popover is never released)
if([SCHelper is_iPad])
{
UIPopoverController *popover = [[UIPopoverController alloc]
initWithContentViewController:self.imagePickerController];
[popover presentPopoverFromRect:self.frame inView:self.ownerTableViewModel.viewController.view
permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
}
 


There are 6 analyzer warnings all together.
  • icyplains
  • OFFLINE
  • Expert Boarder
  • Posts: 133
  • Karma: 5

Re: Static Analyzer "Potential Leaks" 1 year, 4 months ago #2

Thanks a lot Tommy, we fixed that

Thanks again for the great help (as usual!).
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72
  • Page:
  • 1
Time to create page: 1.24 seconds