Fix for #42 - free( NULL ) must not fail.