From 132744e9f8885254bcf213c90009d40adeb716bc Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 22 Mar 2010 10:18:00 -0400 Subject: [PATCH] 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 Signed-off-by: Steve Dickson --- support/export/export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2