diff options
author | Jim Meyering <meyering@redhat.com> | 2008-01-04 16:29:18 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-01-30 21:34:33 +0100 |
commit | 79f0ffc240ee3fe6789a90ec01ae0503aced7927 (patch) | |
tree | fd6d5a9c9f487c6f869c2abddf4be05c9c51da72 /testsuite | |
parent | 3cda817f6cd73abfed5bdcc567735ad633904d41 (diff) | |
download | idutils-79f0ffc240ee3fe6789a90ec01ae0503aced7927.tar.gz idutils-79f0ffc240ee3fe6789a90ec01ae0503aced7927.tar.bz2 idutils-79f0ffc240ee3fe6789a90ec01ae0503aced7927.zip |
Allocate safely.
* libidu/dynvec.c (make_dynvec, dynvec_freeze, dynvec_append):
Use xnmalloc, not xmalloc (n * sizeof T).
Use xnrealloc, not xrealloc (p, n * sizeof T).
* libidu/walker.c (append_strings_to_vector, vectorize_string): Likewise.
* libidu/scanners.c (tokenize_args_string): Likewise.
Diffstat (limited to 'testsuite')
0 files changed, 0 insertions, 0 deletions