Prevent a memory leak in digest.c