Check for context reference in case of sxi_cbdata_is_tag fail
Fix check for pointers
Fix memleak when sxi_sha1_init() fails
Do not leak cbdata on retry callback