Issue #6721 - Fix memory leak in Crop
- Crop::freeAll() didn't free the memory
This commit is contained in:
@@ -1735,6 +1735,11 @@ void Crop::freeAll()
|
||||
shbuffer = nullptr;
|
||||
}
|
||||
|
||||
if (shbuf_real) {
|
||||
delete [] shbuf_real;
|
||||
shbuf_real = nullptr;
|
||||
}
|
||||
|
||||
PipetteBuffer::flush();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user