Fixed memory leak

Memory leak for allocating bitmap fixed