[vlc-commits] chorus: remove wrong (and uneeded) dealocations
Rémi Duraffort
git at videolan.org
Thu Jan 2 09:27:51 CET 2014
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Dec 31 15:52:43 2013 +0100| [0781db0423a75f8eea67867d74efa7fcc0dec684] | committer: Rémi Duraffort
chorus: remove wrong (and uneeded) dealocations
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0781db0423a75f8eea67867d74efa7fcc0dec684
---
modules/audio_filter/chorus_flanger.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/audio_filter/chorus_flanger.c b/modules/audio_filter/chorus_flanger.c
index 4d22511..4bc0b4d 100644
--- a/modules/audio_filter/chorus_flanger.c
+++ b/modules/audio_filter/chorus_flanger.c
@@ -394,9 +394,7 @@ static int reallocate_buffer( filter_t *p_filter, filter_sys_t *p_sys )
msg_Err( p_filter, "Couldnt reallocate buffer for new delay." );
return 0;
}
- free( p_sys->p_delayLineStart );
p_sys->p_delayLineStart = temp;
p_sys->p_delayLineEnd = p_sys->p_delayLineStart + p_sys->i_bufferLength;
- free( temp );
return 1;
}
More information about the vlc-commits
mailing list