Coverity issues:

129727: Structurally dead code
151979, 133461: Uninitialized scalar field
129785, 129786, 129787: Use after free
This commit is contained in:
wmayer
2016-08-16 12:23:12 +02:00
parent bdd86eea7d
commit eb0647b144
4 changed files with 5 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ ColorModel& ColorModel::operator = (const ColorModel &rclM)
return *this;
delete [] _pclColors;
_pclColors = 0;
_usColors = rclM._usColors;
if (_usColors == 0)