Manually decref cloned array.
Merge pull request #2428 from matham/decref

Fix bgr conversion memory leak