[vlc-commits] block_BytestreamRelease: remove useless zeroing	(before free)
    Rémi Denis-Courmont 
    git at videolan.org
       
    Wed Aug  3 17:41:09 CEST 2011
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug  3 18:24:17 2011 +0300| [e80f251e5bccdb29d5e213d8712c79f5953142f4] | committer: Rémi Denis-Courmont
block_BytestreamRelease: remove useless zeroing (before free)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e80f251e5bccdb29d5e213d8712c79f5953142f4
---
 include/vlc_block_helper.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/vlc_block_helper.h b/include/vlc_block_helper.h
index d7b2763..1528b94 100644
--- a/include/vlc_block_helper.h
+++ b/include/vlc_block_helper.h
@@ -57,8 +57,6 @@ static inline void block_BytestreamRelease( block_bytestream_t *p_bytestream )
         p_bytestream->p_chain->pf_release( p_bytestream->p_chain );
         p_bytestream->p_chain = p_next;
     }
-    p_bytestream->i_offset = 0;
-    p_bytestream->p_chain = p_bytestream->p_block = NULL;
 }
 
 /**
    
    
More information about the vlc-commits
mailing list