diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-04-23 12:09:35 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-04-23 12:12:10 -0400 |
commit | 08e1512e4a932f41867f0b515348b9402db50cbd (patch) | |
tree | 9c92bafa32379803bad170083336bc89f76f0df0 /autogen.sh | |
parent | aa4b66b12b631885ed85f3ebe97e68b033407178 (diff) | |
download | nfs-utils-08e1512e4a932f41867f0b515348b9402db50cbd.tar.gz |
libexport.a: Allow malloc(3) failures in client_lookup() and friends
Clean up: Use malloc(3) instead of xmalloc() in client_lookup() and
client_dup(), ensuring that a failed memory allocation here doesn't
cause our process to exit suddenly.
Allocation of nfs_client records and the m_hostname string are now
consistently handled with malloc(3), calloc(3), strdup(3), and
free(3).
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions