Deallocate png after loading texture