From: Eric S. Raymond Date: Fri, 11 Nov 1994 21:02:01 +0000 (+0000) Subject: This should help us sniff out bugs. X-Git-Tag: 1-2~32 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=3bf29045293437e4b50fdfee8e320aba9407c1c2;p=cupl.git This should help us sniff out bugs. --- diff --git a/monitor.c b/monitor.c index 80a71d1..4fdfbd7 100644 --- a/monitor.c +++ b/monitor.c @@ -138,6 +138,7 @@ void deallocate_value(value *v) /* destroy a value copy, only if its reference count is 1 */ { (void) free(v->elements); + v->elements = (scalar *)NULL; }