[vtkusers] valgrind question - uninitialized values?
David Doria
daviddoria+vtk at gmail.com
Mon Oct 12 19:15:12 EDT 2009
I am trying to use valgrind to find some memory leaks. I see several things
like this:
==32112== Conditional jump or move depends on uninitialised
value(s)
==32112== at 0x8050971: vtkEllipsoidSource::SetMajorAxisLength(double)
(vtkEllipsoidSource.h:38)
==32112== by 0x804C7B9: EllipsoidDemo()
(VisualizeEllipsoid.cpp:23)
==32112== by 0x804C75E: main (VisualizeEllipsoid.cpp:14)
SetMajorAxisLength is created by a set macro:
vtkSetMacro(MajorAxisLength, double);
and called with:
ellipsoid->SetMajorAxisLength(5.0);
What is the problem with this?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091012/5f2f147c/attachment.htm>
More information about the vtkusers
mailing list