crypto: fix memory leak when decrypting empty strings
crypto: fix memory leak when decrypting empty strings

Also fixes a dangling pointer delete[] in the error path.

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node