fix Blob() and Error() memory leak