Recycling the original bitmap

Recycling the original bitmap which is no longer needed and thus avoid memory leaks.