So far the underlying problem has been missed.

Though Skizmo's reply hints to the issue.


consider these two lines

myStruct_ = NULL;

tryToInitialiseArray(myStruct_);