Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser free syscall data after use
details: https://anonhg.NetBSD.org/src/rev/f5a7df461d77
branches: trunk
changeset: 758836:f5a7df461d77
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Nov 17 17:36:14 2010 +0000
description:
free syscall data after use
diffstat:
lib/librumpuser/rumpuser_sp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 98dd7217e5dc -r f5a7df461d77 lib/librumpuser/rumpuser_sp.c
--- a/lib/librumpuser/rumpuser_sp.c Wed Nov 17 13:41:52 2010 +0000
+++ b/lib/librumpuser/rumpuser_sp.c Wed Nov 17 17:36:14 2010 +0000
@@ -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));
Home |
Main Index |
Thread Index |
Old Index