--- IlmImf/ImfAutoArray.h 2007-04-23 18:26:56.000000000 -0700
+++ IlmImf/ImfAutoArray.h 2011-02-15 09:55:03.919979903 -0800
@@ -57,7 +57,9 @@
{
public:
- AutoArray (): _data (new T [size]) {}
+ AutoArray (): _data (new T [size])
+ { (void) memset(_data, '\0', size * sizeof(T)); }
+
~AutoArray () {delete [] _data;}
operator T * () {return _data;}