mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
Merge branch 'master' of https://gitee.com/xia-chu/ZLMediaKit into dev
This commit is contained in:
commit
40c1cb239d
@ -1 +1 @@
|
|||||||
Subproject commit 0c37146426d8fb0a6d98472739ec3bcc683922db
|
Subproject commit 3b333274b6595bb0d09576e9a2c1e4603129b64a
|
@ -405,6 +405,10 @@ void operator delete(void *ptr) {
|
|||||||
free(ptr);
|
free(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void operator delete(void *ptr, std::size_t) {
|
||||||
|
free(ptr);
|
||||||
|
}
|
||||||
|
|
||||||
void *operator new[](std::size_t size) {
|
void *operator new[](std::size_t size) {
|
||||||
auto ret = malloc(size);
|
auto ret = malloc(size);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
@ -416,4 +420,8 @@ void *operator new[](std::size_t size) {
|
|||||||
void operator delete[](void *ptr) {
|
void operator delete[](void *ptr) {
|
||||||
free(ptr);
|
free(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void operator delete[](void *ptr, std::size_t) {
|
||||||
|
free(ptr);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user