diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-08-11 23:12:07 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2010-08-20 13:05:21 +0200 |
commit | 9695a7c653c5e1871f7bb78fa0e6ec8d4e74a83a (patch) | |
tree | d8a53c582ef57ca81093f9ba13a411b960dac828 /text-utils | |
parent | ec25979447b09387c8152d570581d963df91261e (diff) | |
download | util-linux-old-9695a7c653c5e1871f7bb78fa0e6ec8d4e74a83a.tar.gz |
losetup: do not distinguish between malloc and realloc
realloc(NULL, size) behaves the same as malloc(size) so there is no need
to distinguish between the two.
[kzak@redhat.com: - better handle realloc() errors]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils')
0 files changed, 0 insertions, 0 deletions