summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authoryye00 <yye00@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-10 22:03:33 +0000
committeryye00 <yye00@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-10 22:03:33 +0000
commit993dca25f25b1c49236966c499334892c476308e (patch)
treef5c2fd355d2ef320f68f1af6ec33574911393804 /src/util
parent1f5173e9cf5b93a759bb532e53bb6477a22d5f03 (diff)
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
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Table.c2
1 files changed, 1 insertions, 1 deletions
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);