1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00
systemd/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