free up memory if DWA unRle throws
@@ -830,7 +830,15 @@ DwaCompressor::LossyDctDecoderBase::execute ()
// UnRLE the AC. This will modify currAcComp
//
+ try
+ {
lastNonZero = unRleAc (currAcComp, acCompEnd, halfZigBlock[comp]._buffer);
+ }
+ catch(...)
+ {
+ delete [] rowBlockHandle;
+ throw;
+ }
//
// Convert from XDR to NATIVE
