Do not free an invalid pointer
Partially revert previous commit
Merge branch 'fix-getting-quantum-range-and-depth' of https://github.com/phacops/imagick into phacops-fix-getting-quantum-range-and-depth
Added two tests for the GetQuantum* fixes
Merge branch 'phacops-fix-getting-quantum-range-and-depth'