[Fix] leaks in sha1_util