mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
* Source/NSImage.m: Missing -retain inside the method
-drawInRect:fromRect:... caused a crash inside Opal backend. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37141 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fa522babc4
commit
baabe32c27
2 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
|||
2013-09-23 Ivan Vucica <ivan@vucica.net>
|
||||
|
||||
* Source/NSImage.m: Missing -retain inside the method
|
||||
-compositeToPoint:fromRect:operation:fraction caused a crash
|
||||
-compositeToPoint:fromRect:operation:fraction: caused a crash
|
||||
inside Opal backend.
|
||||
|
||||
* Source/NSImage.m: Missing -retain inside the method
|
||||
-drawInRect:fromRect:... caused a crash inside Opal backend.
|
||||
|
||||
2013-09-22 16:52-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
|
|
|
@ -849,7 +849,7 @@ Fallback for backends other than Cairo. */
|
|||
{
|
||||
NSAffineTransform *newXform;
|
||||
|
||||
backup = [ctx GSCurrentCTM];
|
||||
backup = [[ctx GSCurrentCTM] retain];
|
||||
|
||||
newXform = [backup copy];
|
||||
[newXform translateXBy: dstRect.origin.x yBy: dstRect.origin.y + dstRect.size.height];
|
||||
|
@ -876,6 +876,7 @@ Fallback for backends other than Cairo. */
|
|||
if (compensateForFlip)
|
||||
{
|
||||
[ctx GSSetCTM: backup];
|
||||
[backup release];
|
||||
}
|
||||
|
||||
return YES;
|
||||
|
|
Loading…
Reference in a new issue