Use xrealloc instead of if(ptr) ptr = xmalloc().
[tinc] / src / cygwin /
drwxr-xr-x   ..
-rw-r--r-- 6880 device.c