From 828d1d9bce3dc8997748eb420f52f5909c72d63f Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 14 Aug 2007 21:11:36 +0000 Subject: [PATCH] whoops, mismatched malloc/free --- panda/src/express/patchfile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/express/patchfile.cxx b/panda/src/express/patchfile.cxx index d63c62e2bd..bd393a209e 100644 --- a/panda/src/express/patchfile.cxx +++ b/panda/src/express/patchfile.cxx @@ -1016,7 +1016,7 @@ compute_file_patches(ostream &write_stream, express_cat.debug() << "Allocating hashtable of size " << _HASHTABLESIZE << " * 4\n"; } - _hash_table = new PN_uint32[_HASHTABLESIZE]; + _hash_table = (PN_uint32 *)PANDA_MALLOC_ARRAY(_HASHTABLESIZE * sizeof(PN_uint32)); } if (express_cat.is_debug()) {