[xiph-commits] r11317 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Sat Apr 29 06:04:33 PDT 2006
Author: jm
Date: 2006-04-29 06:04:28 -0700 (Sat, 29 Apr 2006)
New Revision: 11317
Modified:
trunk/speex/libspeex/jitter.c
Log:
Need to set buffer to NULL after free()ing. Thanks to Dirk Schramm for
pointing that out.
Modified: trunk/speex/libspeex/jitter.c
===================================================================
--- trunk/speex/libspeex/jitter.c 2006-04-29 13:00:54 UTC (rev 11316)
+++ trunk/speex/libspeex/jitter.c 2006-04-29 13:04:28 UTC (rev 11317)
@@ -171,6 +171,7 @@
}
}
speex_free(jitter->buf[i]);
+ jitter->buf[i]=NULL;
if (jitter->lost_count>20)
{
jitter_buffer_reset(jitter);
More information about the commits
mailing list