From 982a70c7d8688a6ba9bb85faa6a4d2f6e6dca78d Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 9 Dec 2013 09:05:19 -0500 Subject: Don't leak arguments to yp_all() (more of #967468) --- src/nis.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nis.c b/src/nis.c index 95cafda..f44065e 100644 --- a/src/nis.c +++ b/src/nis.c @@ -940,6 +940,7 @@ nis_all(struct plugin_state *state, } map_unlock(); done_with_lock: + xdr_free((xdrproc_t)xdr_ypreq_nokey, &req_nokey); /* Return the cookie if we can, else destroy it. */ if (continuation_cookie) { *continuation_cookie = cookie; -- cgit