Memory leaks

Some online documents say you should:

I have long believed (perhaps erroneously)

If so, the call to destroy_bitmap in Listing 5 is overkill:

I decided to err on the side of caution and make the call to destroy_bitmap anyway.