diff options
author | jstebbins <[email protected]> | 2012-09-12 15:56:47 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-09-12 15:56:47 +0000 |
commit | ae8dee43bbcd12b5a4a532c7f4f65bf912479428 (patch) | |
tree | 6b42ee0c298e129738730de841c9e4d71c156edc /libhb/fifo.c | |
parent | 001b8708d3b15564c7096a21be769b9328bc2cb8 (diff) |
Revert temporary code that silences valgrind warnings
memsets silence silly valgrind warnings, but we don't want
them in "production"
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4962 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/fifo.c')
-rw-r--r-- | libhb/fifo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libhb/fifo.c b/libhb/fifo.c index 8fcde27b6..1f0d2ef97 100644 --- a/libhb/fifo.c +++ b/libhb/fifo.c @@ -334,7 +334,6 @@ hb_buffer_t * hb_buffer_init( int size ) hb_lock(buffers.lock); buffers.allocated += b->alloc; hb_unlock(buffers.lock); - memset(b->data, 0, b->alloc); } return b; } @@ -347,7 +346,6 @@ void hb_buffer_realloc( hb_buffer_t * b, int size ) size = size_to_pool( size )->buffer_size; b->data = realloc( b->data, size ); b->alloc = size; - memset(b->data, 0, b->alloc); hb_lock(buffers.lock); buffers.allocated += size - orig; |