Blob memory leak fix