|
From: <gup...@ne...> - 2011-03-29 08:41:53
|
A memset immediately after the malloc but before the for loop should take care of this problem. The for loop may execute before your other nested initialization occurs. memset(matrix, 0, (size * sizeof(in))); Satya Sent from my Verizon Wireless BlackBerry -----Original Message----- From: Santosh Navale <san...@gm...> Date: Mon, 28 Mar 2011 22:08:00 To: Florian Krohm<br...@ac...> Cc: <val...@li...> Subject: Re: [Valgrind-users] Problem resolving a Valgrind reported error ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar |