Invalid Pointer fix

From upstream: https://github.com/jfeinstein10/SlidingMenu/commit/d929476bee721e295f7e73d7395e29ca090c122b