2 * emalloc - return new memory obtained from the system. Belch if none.
5 #include "ntp_malloc.h"
6 #include "ntp_stdlib.h"
7 #include "ntp_syslog.h"
9 #if defined SYS_WINNT && defined DEBUG
13 #if defined SYS_WINNT && defined DEBUG
24 if ((mem = (char *)_malloc_dbg(size, _NORMAL_BLOCK, filename, line)) == 0) {
25 msyslog(LOG_ERR, "No more memory!");
40 if ((mem = (char *)malloc(size)) == 0) {
41 msyslog(LOG_ERR, "No more memory!");