19:45
To: Dany Golubitsky
Cc: cocoa-dev@lists.apple.com; Shai Shasag
Subject: Re: NSGraphicsContext graphicsContextWithBitmapImageRep - Memory leak
On Feb 10, 2014, at 11:08 AM, Dany Golubitsky wrote:
> To make it simple - here is the entire code: ...
Is this code being called on the main thr
On Feb 10, 2014, at 11:08 AM, Dany Golubitsky wrote:
> To make it simple - here is the entire code: …
Is this code being called on the main thread? On a background thread? Are you
sure there's an autorelease pool in place and that it is being drained on a
regular basis?
Is anything logged to
ts.apple.com; Shai Shasag
Subject: Re: NSGraphicsContext graphicsContextWithBitmapImageRep - Memory
leak
On Feb 10, 2014, at 2:16 AM, Dany Golubitsky wrote:
> Hello Ken and thanks for your answer!
You're welcome.
> 1) SBitmapImageRep is actually NSBitmapImageRep. N is just ge
On Feb 10, 2014, at 2:16 AM, Dany Golubitsky wrote:
> Hello Ken and thanks for your answer!
You're welcome.
> 1) SBitmapImageRep is actually NSBitmapImageRep. N is just get lost in Copy.
> Sorry.
Ah, I should have figured.
> 2) I tried both with release and without release of newContext. Same
-
From: Ken Thomases [mailto:k...@codeweavers.com]
Sent: Sunday, February 09, 2014 18:49
To: Dany Golubitsky
Cc: cocoa-dev@lists.apple.com
Subject: Re: NSGraphicsContext graphicsContextWithBitmapImageRep - Memory leak
On Feb 9, 2014, at 4:56 AM, Dany Golubitsky wrote:
> I am having this part
On Feb 9, 2014, at 4:56 AM, Dany Golubitsky wrote:
> I am having this part of code that gives me major memory leak:
>
>SBitmapImageRep* textRep = [[NSBitmapImageRep alloc]
>
> initW
I am having this part of code that gives me major memory leak:
SBitmapImageRep* textRep = [[NSBitmapImageRep alloc]
initWithBitmapDataPlanes:NULL
pi