issue  #5791 : use new/delete [] instead of malloc/free for object array
Merge pull request #660 from joshuastray/missing_else

issue  #5791 : use new/delete [] instead of malloc/free for object array