Skip to content

Commit

Permalink
chorus: remove wrong (and uneeded) dealocations
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoire committed Jan 2, 2014
1 parent 33f3158 commit 0781db0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/audio_filter/chorus_flanger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 0781db0

Please sign in to comment.