Fix memory leak. Referencing self in block.

To test for the memory leak. Try added a breakpoint in the views dealloc method. You will notice it never gets triggered. This change will ensure dealloc is called properly.