Removed incorrect release of obtained colorspace. This fixes bug #3318 (updated commit for 2.4 branch)
Merge pull request #1678 from wejeus:ios-documentationfix-2.4