Check that the received bytes are indeed 0x7F 0x7F, free the allocated buffer