Zero the array before using it. You can go talk to Grace now, DrMcCoy.

svn-id: r47017
This commit is contained in:
Matthew Hoops 2010-01-05 04:00:13 +00:00
parent d485d0c295
commit 5fbbd5b8d9

View File

@ -740,6 +740,7 @@ public:
// So, we're going to have to create an array of some sort
T *newArray = new T[size];
memset(newArray, 0, size * sizeof(T));
// Check if we never created an array before
if (!_data) {