Fix potential leak of colorSpace
Fix potential leak of colorSpace

Trivial fix for a static analysis warning of a potential leak. If
the malloc failed and the method aborted, colorSpace would not be
freed. Fix by only creating the color space after the malloc
succeeds.

Anish-kumar-dev/ColorCube,pixelogik/ColorCube,edbea/ColorCube,trello/ColorCube,pixelogik/ColorCube,the-grid/ColorCube