1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
systemd-stable/extras/collect
Alan Jenkins b29a5e4ab9 use more appropriate alternatives to malloc()
Use calloc to request cleared memory instead.
Kernel and libc conspire to make this more efficient.

Also, replace one malloc() + strcpy() with strdup().

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-21 12:54:57 +02:00
..
.gitignore extras: ignore built and generated files 2007-11-08 00:13:40 +01:00
collect.c use more appropriate alternatives to malloc() 2008-10-21 12:54:57 +02:00
Makefile.am pass make distcheck 2008-10-18 20:33:06 +02:00