Fix invariant broken in 5f1374e2.

If to_free is not a valid pointer then it should be NULL.

Change-Id: I6addb2b8e7aa61d3ba47baaf8d0606d10ff2545d
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 5a79fb8..5a371a5 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -279,6 +279,7 @@
   }
   if (state->to_free) {
     OPENSSL_free(state->to_free);
+    state->to_free = NULL;
   }
 
   state->top = state->bottom = 0;