Use correct function
Free digest string (thanks valgrind)