You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
438 B
21 lines
438 B
8 years ago
|
--- a/src/del_op.cpp
|
||
|
+++ b/src/del_op.cpp
|
||
|
@@ -24,3 +24,7 @@
|
||
|
_UCXXEXPORT void operator delete(void* ptr) throw(){
|
||
|
free(ptr);
|
||
|
}
|
||
|
+
|
||
|
+_UCXXEXPORT void operator delete(void* ptr, size_t size) throw(){
|
||
|
+ free(ptr);
|
||
|
+}
|
||
|
--- a/src/del_opv.cpp
|
||
|
+++ b/src/del_opv.cpp
|
||
|
@@ -24,3 +24,7 @@
|
||
|
_UCXXEXPORT void operator delete[](void * ptr) throw(){
|
||
|
free(ptr);
|
||
|
}
|
||
|
+
|
||
|
+_UCXXEXPORT void operator delete[](void * ptr, size_t size) throw(){
|
||
|
+ free(ptr);
|
||
|
+}
|