Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 888735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:26:54+00:00 2026-05-15T13:26:54+00:00

I ran Instruments on my iPad app to check for leaks. It found several

  • 0

I ran Instruments on my iPad app to check for leaks. It found several “leaks” where an object was being retained in a method:

alt text http://cl.ly/a85d3d8bdc6286c8de71/content

But these objects are released later in dealloc:

alt text http://cl.ly/a265f76a538ee55781df/content

Are these classified as false-positives?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:26:54+00:00Added an answer on May 15, 2026 at 1:26 pm

    Is self.detailPopover a property declared with retain? If so then the assignment self.detailPopover will result in the generated set method calling retain on the object returned from alloc that you already own.

    If it is a retained property then remove self from the assignment so the set method is not called and your retain count will be correct.

    Property* prop = [[Property alloc] init]; // retain count == 1 
    self.property = prop; // retain count == 2 
    [prop release]; // retain count == 1 
    

    or avoid the generated set method and it’s retain…

    property = [[Property alloc] init]; // retain count == 1 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I ran my app through Instruments today and noticed that an excessively high amount
I ran the OpenGL ES Analysis tool from Instruments in my app, and it
I ran the instruments for my app (which contains a UITableView) and got the
I ran into a bizarre issue here. I'm developping an iOS app (for iPad,
I ran into an issue with an IIS web app shutting down an idle
I ran into an interesting (and very frustrating) issue with the equals() method today
I´m trying to increase an algorithm speed, So I ran my application with Instruments
Ran into another challenge. I looked through some of the questions that I found
Ran into a interesting little problem. I was writing a method to filter an
I ran into a bug I have trouble explaining. Now that I found the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.