diff options
-rw-r--r-- | nis/nis_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nis/nis_table.c b/nis/nis_table.c index abe47d09c1..cfa7cef350 100644 --- a/nis/nis_table.c +++ b/nis/nis_table.c @@ -343,6 +343,7 @@ nis_list (const_nis_name name, unsigned int flags, res = calloc (1, sizeof (nis_result)); if (res == NULL || ibreq->ibr_name == NULL) { + free (ibreq->ibr_name); free (res); nis_free_request (ibreq); if (have_tablepath) |