#include <sys/types.h>
#include <sys/acl.h>
#include <errno.h>
+#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
* Without tracking the addresses of text buffers and qualifiers,
* we can't validate the obj argument here at all.
*/
- free(obj);
+ if(obj != _FILESEC_REMOVE_ACL)
+ free(obj);
return(0);
}