PERFORCE change 174337 for review
Robert Watson
rwatson at FreeBSD.org
Fri Feb 5 00:43:22 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=174337
Change 174337 by rwatson at rwatson_vimage_client on 2010/02/05 00:42:38
Add missing free() call to lch_stop().
Spotted by: kris
Affected files ...
.. //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#17 edit
Differences ...
==== //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#17 (text+ko) ====
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#16 $
+ * $P4: //depot/projects/trustedbsd/capabilities/src/lib/libcapsicum/libcapsicum_host.c#17 $
*/
#include <sys/param.h>
@@ -367,6 +367,7 @@
lcsp->lcs_fd_sock = -1;
lcsp->lcs_fd_procdesc = -1;
lcsp->lcs_pid = -1;
+ free(lcsp);
}
int
More information about the p4-projects
mailing list