]> err.no Git - util-linux/commit
mount: use realloc for xstrconcat functions
authorKarel Zak <kzak@redhat.com>
Fri, 4 May 2007 07:14:04 +0000 (09:14 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 4 May 2007 07:14:04 +0000 (09:14 +0200)
commit6573c985a4077fa7d50ccb993bae177526fde8ec
tree530d9d7c06834472fd1f1672002c62e8f4afa719
parent9e28151e70ea2b4d87806a2d36f592c8ef2390e3
mount: use realloc for xstrconcat functions

Everywhere in code is

s = xstrconcat3(s, t, u);

that's nonsense use malloc(new_s); free(s); return new_s;

Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c
mount/sundries.c
mount/sundries.h