Commit 59889957 by Mike Stump

Be sure to initialize the size before use.

From-SVN: r37199
parent 7a099817
......@@ -6,6 +6,7 @@ struct A
int size;
A ()
{
size = 20;
T *p;
p = new T[size];
int foo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment