PATCH: setfiles memory leak
This patch fixes a memory leak on an error path.
- todd
setfiles/setfiles.c +1 -0
@@ -357,6 +357,7 @@"%s: %s not reset customized by admin to %s\n" , progname, my_file, context); } +freecon (context); goto out; }
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Stephen Smalley
AppliedQuoted 7 lines · On Wed, 2007-02-07 at 12:09 -0500, [email protected] wrote:
This patch fixes a memory leak on an error path.
- todd
setfiles/setfiles.c line 363
Quoted 7 lines
setfiles/setfiles.c +1
-0@@ -357,6 +357,7 @@"%s: %s not reset customized by admin to %s\n" , progname, my_file, context); } +freecon (context); goto out; }
Merged to -stable and to -trunk.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.