version 1.6, 2015/07/01 21:48:39
|
version 1.7, 2016/05/18 12:47:42
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004 - 2015 | Copyright 2004 - 2016 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 291 mpool_realloc(mpool_t * __restrict mp, void * __restri
|
Line 291 mpool_realloc(mpool_t * __restrict mp, void * __restri
|
if (!p) |
if (!p) |
return NULL; |
return NULL; |
|
|
memcpy(p, data, osize); | memcpy(p, data, MIN(osize, newsize)); |
mpool_free(mp, data, 0); |
mpool_free(mp, data, 0); |
} else { |
} else { |
p = data; |
p = data; |