chorus: remove wrong (and uneeded) dealocations
authorRémi Duraffort <ivoire@videolan.org>
Tue, 31 Dec 2013 14:52:43 +0000 (15:52 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 2 Jan 2014 08:15:37 +0000 (09:15 +0100)
modules/audio_filter/chorus_flanger.c

index 4d22511..4bc0b4d 100644 (file)
@@ -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;
 }