Fixed memleak in pdsat crypto application