diff options
| author | Colin Snover | 2016-08-28 20:22:44 -0500 | 
|---|---|---|
| committer | Colin Snover | 2016-09-29 19:39:16 -0500 | 
| commit | 181676a0d515ab2ae4e7930bea7658e00f51d5d0 (patch) | |
| tree | 0303ec2131a7fe7092bb884a529bd0b37386d64d | |
| parent | 327f8f829941e544ef6d97f5ff816d6190c499d1 (diff) | |
| download | scummvm-rg350-181676a0d515ab2ae4e7930bea7658e00f51d5d0.tar.gz scummvm-rg350-181676a0d515ab2ae4e7930bea7658e00f51d5d0.tar.bz2 scummvm-rg350-181676a0d515ab2ae4e7930bea7658e00f51d5d0.zip  | |
SCI32: Fix memory leak
CID 1361032.
| -rw-r--r-- | engines/sci/graphics/transitions32.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/graphics/transitions32.cpp b/engines/sci/graphics/transitions32.cpp index b93f0f7917..361c38e2b4 100644 --- a/engines/sci/graphics/transitions32.cpp +++ b/engines/sci/graphics/transitions32.cpp @@ -940,8 +940,9 @@ void GfxTransitions32::kernelSetScroll(const reg_t planeId, const int16 deltaX,  			g_sci->_gfxFrameout->frameOut(true);  			throttle();  		} -		delete scroll;  	} + +	delete scroll;  }  bool GfxTransitions32::processScroll(PlaneScroll &scroll) {  | 
