From 993dca25f25b1c49236966c499334892c476308e Mon Sep 17 00:00:00 2001 From: yye00 Date: Tue, 10 Jan 2006 22:03:33 +0000 Subject: Fix for the erroneuously lablelled memory corruption. It seems what was just needed was more checking. This checked out alright on lemieux. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4231 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/util/Table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/Table.c b/src/util/Table.c index 6c9b4708..599d4574 100644 --- a/src/util/Table.c +++ b/src/util/Table.c @@ -5405,7 +5405,7 @@ else assert(tep->key != NULL); free(tep->key); -assert(tep->value != NULL); +assert(tep->N_elements == 0 || tep->value != NULL); free(tep->value); free(tep); -- cgit v1.2.3