Opened on 09/26/2017 at 01:43:07 PM

Closed on 10/02/2017 at 02:14:11 PM

#5794 closed defect (fixed)

Analysis Issue - Potential memory leak

Reported by: CraftyDeano Assignee: CraftyDeano
Priority: Unknown Milestone:
Module: Adblock-Plus-for-iOS/macOS Keywords:
Cc: dzhang, ashephard Blocked By:
Blocking: Platform: iOS
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29556754/

Description

Xcode static analyser highlights the following issues:

Assertion: Potential leak of memory pointed to by 'terminatedString'
File: adblockplussafariios/AdblockPlusSafari/FilterList+Processing.m:65

This can be resolved by calling free() on terminatedString at the end of its scope.

Attachments (0)

Change History (3)

comment:1 Changed on 09/26/2017 at 01:48:58 PM by CraftyDeano

  • Owner set to CraftyDeano

comment:2 Changed on 09/26/2017 at 09:58:59 PM by CraftyDeano

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:3 Changed on 10/02/2017 at 02:14:11 PM by CraftyDeano

  • Resolution set to fixed
  • Status changed from reviewing to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from CraftyDeano.
 
Note: See TracTickets for help on using tickets.