$NetBSD: patch-ai,v 1.2 2011/01/15 11:24:33 adam Exp $ --- IlmImf/ImfAutoArray.h.orig 2007-04-23 20:26:56.000000000 -0500 +++ IlmImf/ImfAutoArray.h 2009-07-29 13:22:08.309288375 -0500 @@ -45,6 +45,7 @@ //----------------------------------------------------------------------------- #include "OpenEXRConfig.h" +#include namespace Imf { @@ -57,7 +57,7 @@ namespace Imf { { public: - AutoArray (): _data (new T [size]) {} + AutoArray (): _data (new T [size]) {memset(_data, 0, size * sizeof(T));} ~AutoArray () {delete [] _data;} operator T * () {return _data;}