diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-11-27 09:30:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-11-27 09:30:10 +0000 |
commit | f08f41139845e5711082ff6d178faf5e90eff24e (patch) | |
tree | d48167d547a495f3b688c56ce68dedff15bd5240 /nis | |
parent | 0af1870a5cef686b3fc40a620ba16e886888feeb (diff) | |
download | glibc-f08f41139845e5711082ff6d178faf5e90eff24e.zip glibc-f08f41139845e5711082ff6d178faf5e90eff24e.tar.gz glibc-f08f41139845e5711082ff6d178faf5e90eff24e.tar.bz2 |
(nis_list): Add more free calls in error cases.
Diffstat (limited to 'nis')
-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 abe47d0..cfa7cef 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) |