Fixes: debbugs:9133
* nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep to nil after release.
This commit is contained in:
parent
d4767877ac
commit
a92789b1fc
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-12-02 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep
|
||||
to nil after release (Bug#9133).
|
||||
|
||||
2014-11-30 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Port better to AddressSanitizer.
|
||||
|
|
|
@ -247,6 +247,7 @@ - (void)dealloc
|
|||
if (s >= bits + length)
|
||||
{
|
||||
[bmRep release];
|
||||
bmRep = nil;
|
||||
return nil;
|
||||
}
|
||||
#define hexchar(x) ('0' <= (x) && (x) <= '9' ? (x) - '0' : (x) - 'a' + 10)
|
||||
|
|
Loading…
Add table
Reference in a new issue