Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rpc.lockd Don't try to deallocate an object pointed...
details: https://anonhg.NetBSD.org/src/rev/a0f2636bb7d1
branches: trunk
changeset: 499489:a0f2636bb7d1
user: enami <enami%NetBSD.org@localhost>
date: Tue Nov 21 03:47:41 2000 +0000
description:
Don't try to deallocate an object pointed by NULL pointer. Instead,
deallocate the right one.
diffstat:
usr.sbin/rpc.lockd/lockd_lock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 2f1eb4309d15 -r a0f2636bb7d1 usr.sbin/rpc.lockd/lockd_lock.c
--- a/usr.sbin/rpc.lockd/lockd_lock.c Tue Nov 21 02:26:07 2000 +0000
+++ b/usr.sbin/rpc.lockd/lockd_lock.c Tue Nov 21 03:47:41 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lockd_lock.c,v 1.4 2000/08/12 18:08:44 thorpej Exp $ */
+/* $NetBSD: lockd_lock.c,v 1.5 2000/11/21 03:47:41 enami Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
@@ -264,7 +264,7 @@
do_mon(lckarg->alock.caller_name);
break;
default:
- lfree(fl);
+ lfree(newfl);
break;
}
sigunlock();
Home |
Main Index |
Thread Index |
Old Index