Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2006 14:34:07 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 107175 for review
Message-ID:  <200610031434.k93EY7GG016162@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107175

Change 107175 by millert@millert_macbook on 2006/10/03 14:33:32

	Fix a memory leak on an error path

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/policycoreutils/setfiles/setfiles.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/policycoreutils/setfiles/setfiles.c#3 (text+ko) ====

@@ -332,6 +332,7 @@
 				"%s: %s not reset customized by admin to %s\n",
 				progname, my_file, context);
 		}
+		freecon(context);
 		goto out;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610031434.k93EY7GG016162>