made ptr and data vars local in SEND-AND-CHECK func. Moved patch end comment to real end of patch.
Merge pull request #2 from greggirwin/master

Localized two leaked vars and fixed comment location