mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
memcpy() replaced with memmove() in bitmap alloc
not used by default
This commit is contained in:
parent
62775da1d5
commit
271d9bb91a
@ -332,7 +332,7 @@ void *myrealloc(void *ptr, size_t size){
|
||||
if(size <= memsizes[l]) return ptr;
|
||||
p = myalloc(size);
|
||||
if(p){
|
||||
memcpy(p,ptr,size);
|
||||
memmove(p,ptr,size);
|
||||
myfree(ptr);
|
||||
}
|
||||
return p;
|
||||
|
Loading…
Reference in New Issue
Block a user