From e33551bc0c3fcb5650d04e942996dfa68b0b86ea Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 17 Feb 2003 12:19:12 +0000 Subject: Set the length back to zero when we free the data_blob. (This used to be commit 4560594a67056ee1a5e51a122d1b254944e7c266) --- source3/lib/data_blob.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/data_blob.c b/source3/lib/data_blob.c index 250c3ade88..4056212fc5 100644 --- a/source3/lib/data_blob.c +++ b/source3/lib/data_blob.c @@ -84,6 +84,7 @@ void data_blob_free(DATA_BLOB *d) if (d->free) { (d->free)(d); } + d->length = 0; } } -- cgit