[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invalid free in covariance_destroy
From: |
John Darrington |
Subject: |
Re: invalid free in covariance_destroy |
Date: |
Wed, 3 Mar 2010 20:21:28 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Wed, Mar 03, 2010 at 11:19:56AM -0500, Jason Stover wrote:
Valgrind reported an invalid free in
covariance_destroy:
free (cov->vars);
cov->vars isn't allocated, but just copied as an
argument to covariance_2pass_create:
cov->vars = vars;
Does anyone object to removing that call to free?
For the version in the covariance branch, it looks like you are right.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature