Fixed a memory leak with colorSpace
Merge pull request #26 from DinosaurDad/master

The gradient memory leak was previously fixed, but colorSpace was still leaking.