[Sumover-dev] [svn commit] r4383 - vic/branches/cc/rtp
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Tue Feb 10 17:17:00 GMT 2009
Author: soohyunc
Date: Tue Feb 10 17:17:00 2009
New Revision: 4383
Modified:
vic/branches/cc/rtp/session.cpp
Log:
There was a duplicated malloc() when declare XR report block. The malloc()
should be called once Vic knows how many chunks should be placed in the XR report
block.
Modified: vic/branches/cc/rtp/session.cpp
==============================================================================
--- vic/branches/cc/rtp/session.cpp (original)
+++ vic/branches/cc/rtp/session.cpp Tue Feb 10 17:17:00 2009
@@ -660,7 +660,7 @@
// declare XR report block
// (type specific report block)
- u_char *rb = (u_char *) malloc(sizeof(u_char *));
+ u_char *rb;
int xrssrc; // it is currently unused
More information about the Sumover-dev
mailing list