svn commit: r199702 - stable/7/lib/libc/posix1e
Christian Brueffer
brueffer at FreeBSD.org
Mon Nov 23 09:15:17 UTC 2009
Author: brueffer
Date: Mon Nov 23 09:15:16 2009
New Revision: 199702
URL: http://svn.freebsd.org/changeset/base/199702
Log:
MFC: r199317
Fix a memory leak in acl_from_text() in case the conversion succeeded.
Modified:
stable/7/lib/libc/posix1e/acl_from_text.c
Directory Properties:
stable/7/lib/libc/ (props changed)
Modified: stable/7/lib/libc/posix1e/acl_from_text.c
==============================================================================
--- stable/7/lib/libc/posix1e/acl_from_text.c Mon Nov 23 09:13:32 2009 (r199701)
+++ stable/7/lib/libc/posix1e/acl_from_text.c Mon Nov 23 09:15:16 2009 (r199702)
@@ -229,6 +229,7 @@ acl_from_text(const char *buf_p)
}
#endif
+ free(mybuf_p);
return(acl);
error_label:
More information about the svn-src-stable-7
mailing list