[kaffe] CVS kaffe (dalibor): Fixed gc_Malloc/KFREE mismatch
Kaffe CVS
Kaffe Mailing List <kaffe@kaffe.org>
Mon Feb 16 15:39:01 2004
PatchSet 4441
Date: 2004/02/16 23:22:47
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed gc_Malloc/KFREE mismatch
2004-02-16 Dalibor Topic <robilad@kaffe.org>
* kaffe/kaffevm/verify.c
(verifyErrorInCheckMethodCall): Use gc_free instead of KFREE on
memory allocated by gc_malloc.
Members:
ChangeLog:1.2024->1.2025
kaffe/kaffevm/verify.c:1.57->1.58
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2024 kaffe/ChangeLog:1.2025
--- kaffe/ChangeLog:1.2024 Mon Feb 16 23:12:51 2004
+++ kaffe/ChangeLog Mon Feb 16 23:22:47 2004
@@ -1,6 +1,12 @@
2004-02-16 Dalibor Topic <robilad@kaffe.org>
* kaffe/kaffevm/verify.c
+ (verifyErrorInCheckMethodCall): Use gc_free instead of KFREE on
+ memory allocated by gc_malloc.
+
+2004-02-16 Dalibor Topic <robilad@kaffe.org>
+
+ * kaffe/kaffevm/verify.c
(verifyErrorInCheckMethodCall): New static inline function.
(VERIFY_ERROR) Removed.
Replaced use of VERIFY_ERROR by verifyErrorInCheckMethodCall.
Index: kaffe/kaffe/kaffevm/verify.c
diff -u kaffe/kaffe/kaffevm/verify.c:1.57 kaffe/kaffe/kaffevm/verify.c:1.58
--- kaffe/kaffe/kaffevm/verify.c:1.57 Mon Feb 16 23:12:55 2004
+++ kaffe/kaffe/kaffevm/verify.c Mon Feb 16 23:22:49 2004
@@ -4065,7 +4065,7 @@
const char* methSig,
const char* msg)
{
- KFREE(argbuf);
+ gc_free(argbuf);
DBG(VERIFY3,
dprintf(" error with method invocation, pc = %d, method = %s%s\n",
pc,