cleanup various MALLOC/REALLOC callers
authorMike Snitzer <snitzer@redhat.com>
Wed, 29 Apr 2009 19:25:42 +0000 (15:25 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 29 Apr 2009 19:25:42 +0000 (15:25 -0400)
commit64e1404991119d9d80090dafffa1962bc349c7c9
treece91500973865d903c11c60f55fe133e3e7ef6d4
parent40c1294b8d75e98918b1df5b1e9b4e69f0fd4f28
cleanup various MALLOC/REALLOC callers

- alloc_hwe and alloc_mpe should've been used
- MALLOC and REALLOC returned pointer must be checked before use

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
libmultipath/config.c
libmultipath/config.h
libmultipath/dict.c
libmultipath/parser.c
libmultipath/prio.c
libmultipath/uevent.c
libmultipath/uxsock.c