For consistency destroy kernel request putbuffers also when
escaping event loop (the process is going to exit anyway, but ...)
This commit is contained in:
parent
93c1d76796
commit
9c16b5e434
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ninepuffs.c,v 1.2 2007/04/22 18:10:48 pooka Exp $ */
|
/* $NetBSD: ninepuffs.c,v 1.3 2007/05/02 18:50:30 pooka Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
||||||
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
__RCSID("$NetBSD: ninepuffs.c,v 1.2 2007/04/22 18:10:48 pooka Exp $");
|
__RCSID("$NetBSD: ninepuffs.c,v 1.3 2007/05/02 18:50:30 pooka Exp $");
|
||||||
#endif /* !lint */
|
#endif /* !lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -392,4 +392,5 @@ puffs9p_eventloop(struct puffs_usermount *pu, struct puffs9p *p9p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
puffs_req_destroyget(pgr);
|
puffs_req_destroyget(pgr);
|
||||||
|
puffs_req_destroyput(ppr);
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: psshfs.c,v 1.15 2007/04/29 10:02:57 pooka Exp $ */
|
/* $NetBSD: psshfs.c,v 1.16 2007/05/02 18:50:30 pooka Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2006 Antti Kantee. All Rights Reserved.
|
* Copyright (c) 2006 Antti Kantee. All Rights Reserved.
|
||||||
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
__RCSID("$NetBSD: psshfs.c,v 1.15 2007/04/29 10:02:57 pooka Exp $");
|
__RCSID("$NetBSD: psshfs.c,v 1.16 2007/05/02 18:50:30 pooka Exp $");
|
||||||
#endif /* !lint */
|
#endif /* !lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -421,6 +421,7 @@ psshfs_eventloop(struct puffs_usermount *pu, struct psshfs_ctx *pctx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
puffs_req_destroyget(pgr);
|
puffs_req_destroyget(pgr);
|
||||||
|
puffs_req_destroyput(ppr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user