diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-03-22 10:18:00 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-03-22 10:18:00 -0400 |
commit | 132744e9f8885254bcf213c90009d40adeb716bc (patch) | |
tree | 96b9b480691bef2737565fa14a64d4d927de1055 /support/export/export.c | |
parent | e3b0046b4b12a6e05c0a7afd59ca5431ded51e96 (diff) | |
download | nfs-utils-132744e9f8885254bcf213c90009d40adeb716bc.tar.gz nfs-utils-132744e9f8885254bcf213c90009d40adeb716bc.tar.xz nfs-utils-132744e9f8885254bcf213c90009d40adeb716bc.zip |
libexport.a: e_fslocdata should be freed with free(3)
Clean up: Since e_fslocdata is allocated with strdup(3), and not
xstrdup(), it should be freed with free(3), and not xfree().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/export.c')
-rw-r--r-- | support/export/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/export/export.c b/support/export/export.c index ba643b2..42e78f6 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -277,7 +277,7 @@ export_freeall(void) if (exp->m_export.e_mountpoint) free(exp->m_export.e_mountpoint); if (exp->m_export.e_fslocdata) - xfree(exp->m_export.e_fslocdata); + free(exp->m_export.e_fslocdata); xfree(exp->m_export.e_hostname); xfree(exp); } |