From 0f3100cf28d51dfe59ee4db0b06ecd48b6aed695 Mon Sep 17 00:00:00 2001 From: brueffer Date: Mon, 16 Nov 2009 09:28:22 +0000 Subject: [PATCH] Fix a memory leak in acl_from_text() in case the conversion succeeded. Submitted by: Jim Wilcoxson MFC after: 1 week --- lib/libc/posix1e/acl_from_text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/posix1e/acl_from_text.c b/lib/libc/posix1e/acl_from_text.c index 98c54261d555..c600987f9f6d 100644 --- a/lib/libc/posix1e/acl_from_text.c +++ b/lib/libc/posix1e/acl_from_text.c @@ -257,6 +257,7 @@ acl_from_text(const char *buf_p) } #endif + free(mybuf_p); return(acl); error_label: