Module Name: src Committed By: pooka Date: Wed Nov 17 17:36:15 UTC 2010
Modified Files: src/lib/librumpuser: rumpuser_sp.c Log Message: free syscall data after use To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/lib/librumpuser/rumpuser_sp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/librumpuser/rumpuser_sp.c diff -u src/lib/librumpuser/rumpuser_sp.c:1.5 src/lib/librumpuser/rumpuser_sp.c:1.6 --- src/lib/librumpuser/rumpuser_sp.c:1.5 Thu Nov 4 20:54:07 2010 +++ src/lib/librumpuser/rumpuser_sp.c Wed Nov 17 17:36:14 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpuser_sp.c,v 1.5 2010/11/04 20:54:07 pooka Exp $ */ +/* $NetBSD: rumpuser_sp.c,v 1.6 2010/11/17 17:36:14 pooka Exp $ */ /* * Copyright (c) 2010 Antti Kantee. All Rights Reserved. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: rumpuser_sp.c,v 1.5 2010/11/04 20:54:07 pooka Exp $"); +__RCSID("$NetBSD: rumpuser_sp.c,v 1.6 2010/11/17 17:36:14 pooka Exp $"); #include <sys/types.h> #include <sys/mman.h> @@ -315,6 +315,7 @@ rv = rumpsyscall(sysnum, data, retval); lwproc_switch(NULL); pthread_setspecific(spclient_tls, NULL); + free(data); DPRINTF(("rump_sp: got return value %d\n", rv));