Currently the only way to actually free the memory from an ImageChannel<T> is to call extractData() on it. This however should also be called on the destructor as otherwise we have memory just floating about after the file is written and discarded of.
Similarly in our compression function of LayerAndMaskInformation.cpp we currently call getData() while we should be calling extractData()
Currently the only way to actually free the memory from an
ImageChannel<T>
is to callextractData()
on it. This however should also be called on the destructor as otherwise we have memory just floating about after the file is written and discarded of.Similarly in our compression function of LayerAndMaskInformation.cpp we currently call
getData()
while we should be callingextractData()