Commit a92789b1 authored by Jan Djärv's avatar Jan Djärv

Fixes: debbugs:9133

* nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep
to nil after release.
parent d4767877
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment