|
From: <ds...@us...> - 2010-08-11 22:17:36
|
Revision: 5109
http://sashimi.svn.sourceforge.net/sashimi/?rev=5109&view=rev
Author: dshteyn
Date: 2010-08-11 22:17:30 +0000 (Wed, 11 Aug 2010)
Log Message:
-----------
Fix memory leak in wavelet smoother.
Modified Paths:
--------------
branches/4-4/trans_proteomic_pipeline/src/Quantitation/ASAPRatio/ASAPRatioPeptideParser/ASAPRatioPeptideParser.cxx
Modified: branches/4-4/trans_proteomic_pipeline/src/Quantitation/ASAPRatio/ASAPRatioPeptideParser/ASAPRatioPeptideParser.cxx
===================================================================
--- branches/4-4/trans_proteomic_pipeline/src/Quantitation/ASAPRatio/ASAPRatioPeptideParser/ASAPRatioPeptideParser.cxx 2010-08-11 22:12:12 UTC (rev 5108)
+++ branches/4-4/trans_proteomic_pipeline/src/Quantitation/ASAPRatio/ASAPRatioPeptideParser/ASAPRatioPeptideParser.cxx 2010-08-11 22:17:30 UTC (rev 5109)
@@ -2460,9 +2460,10 @@
d[m][i]=0;
}
// (unreadable)
+ C4=(double *)calloc(size,sizeof(double));
+
for(m=loop-1;m>=0;m--)
{
- C4=(double *)calloc(size,sizeof(double));
for(i=0;i<size;i++)
C4[i]=0;
for(i=0; i<size; i++)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|