vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Nov  3 
15:00:45 2010 +0100| [7b794661c64e85716580e0c2e7750f6345ccbc50] | committer: 
Jean-Baptiste Kempf 

Revert "Stats: be extra careful when cleaning members"

This reverts commit 0861691f4ee562c21c3b08e2c093baad54b34ff0.

This should not be possible, probably the backtraces were corrupted.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7b794661c64e85716580e0c2e7750f6345ccbc50
---

 src/misc/stats.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/stats.c b/src/misc/stats.c
index e524274..77e1235 100644
--- a/src/misc/stats.c
+++ b/src/misc/stats.c
@@ -398,7 +398,7 @@ void stats_TimersCleanAll( vlc_object_t *p_obj )
 
 void stats_CounterClean( counter_t *p_c )
 {
-    if( p_c && p_c->pp_samples )
+    if( p_c )
     {
         int i = p_c->i_samples - 1 ;
         while( i >= 0 )

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to