Refs #9927 Fix leaks in OPJFile.cpp
Refs #9927 Fix formatting.
Refs #9927 Free buffer in Matrix.cpp
Refs #9927 Fix array size calculation in PatternBox.cpp
Refs #9927 Fix array size calculation in PenStyleBox.cpp
Refs #9927 Fix array size calculation in SymbolBox.cpp
Refs #9927 Fix array size calculation in ColorBox.cpp
Merge branch 'feature/9927_mantidplot_coverity_issues' into develop