summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libssl/bs_cbb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/bs_cbb.c b/lib/libssl/bs_cbb.c
index dd1dc73d094..9de75fbb02d 100644
--- a/lib/libssl/bs_cbb.c
+++ b/lib/libssl/bs_cbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bs_cbb.c,v 1.16 2017/05/07 05:03:41 jsing Exp $ */
+/* $OpenBSD: bs_cbb.c,v 1.17 2017/08/12 02:50:05 jsing Exp $ */
/*
* Copyright (c) 2014, Google Inc.
*
@@ -87,6 +87,7 @@ CBB_cleanup(CBB *cbb)
free(cbb->base);
}
cbb->base = NULL;
+ cbb->child = NULL;
}
static int