# HG changeset patch # User Merten Sach # Date 1307018598 -7200 # Node ID 4007d97740a5d58cbd582c8f026cc65153ca8e18 # Parent 46ceb3dd0f0a167e4fc6fdbfcc2a5042fad511f5 fixed: uninitialized memory diff -r 46ceb3dd0f0a -r 4007d97740a5 src/Application/VPThread__Matrix_Mult/Divide_Pr.c --- a/src/Application/VPThread__Matrix_Mult/Divide_Pr.c Sat Nov 20 08:39:05 2010 +0100 +++ b/src/Application/VPThread__Matrix_Mult/Divide_Pr.c Thu Jun 02 14:43:18 2011 +0200 @@ -503,6 +503,9 @@ newSubMatrix->origStartCol = startCol; newSubMatrix->alreadyCopied = FALSE; newSubMatrix->numUsesLeft = numUses; //can free after this many + //Prevent uninitialized memory + newSubMatrix->copySingleton = NULL; + newSubMatrix->copyTransSingleton = NULL; subMatrices[ rowOffset + colIdx ] = newSubMatrix; }