projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0af1870
)
(nis_list): Add more free calls in error cases.
author
Ulrich Drepper
<drepper@redhat.com>
Sun, 27 Nov 2005 09:30:10 +0000
(09:30 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Sun, 27 Nov 2005 09:30:10 +0000
(09:30 +0000)
nis/nis_table.c
patch
|
blob
|
history
diff --git
a/nis/nis_table.c
b/nis/nis_table.c
index
abe47d0
..
cfa7cef
100644
(file)
--- 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)