summaryrefslogtreecommitdiff
path: root/sunrpc/svc_run.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-10 05:41:26 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-10 05:41:26 +0000
commite79137b2fb8bda5e06ee2a618964604831d440cc (patch)
tree61d03e961c9a7849ba641fb20b2c032d1f0f5d13 /sunrpc/svc_run.c
parent918736844a6d9250240d5c0ddb67577f1dd29758 (diff)
Update.
1999-08-09 Scott Bambrough <scottb@netwinder.org> * elf/elf.h: Added definition of ELFOSABI_ARM. * elf/dl-load.c (_dl_map_object_from_fd): Use VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION to decide whether an object's header and ABI values are acceptable. (VALID_ELF_HEADER): New macro; provide default definition. (VALID_ELF_OSABI): New macro; provide default definition. (VALID_ELF_ABIVERSION): New macro; provide default definition. * sysdeps/arm/dl-machine.h Define ARM specific versions of VALID_ELF_HEADER, VALID_ELF_OSABI, VALID_ELF_ABIVERSION. 1999-08-09 Andreas Schwab <schwab@suse.de> * inet/tst-ipnode.c (main): Don't compare integer with NULL. 1999-08-09 Thorsten Kukuk <kukuk@suse.de> * sunrpc/svc_run.c (svc_run): Free my_pollfd. 1999-08-09 Andreas Schwab <schwab@suse.de> * sunrpc/svc.c (svc_getreq_poll): Fix argument of xprt_unregister.
Diffstat (limited to 'sunrpc/svc_run.c')
-rw-r--r--sunrpc/svc_run.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sunrpc/svc_run.c b/sunrpc/svc_run.c
index e6ffb0f027..72fb939e78 100644
--- a/sunrpc/svc_run.c
+++ b/sunrpc/svc_run.c
@@ -70,14 +70,17 @@ svc_run (void)
switch (i = __poll (my_pollfd, svc_max_pollfd, -1))
{
case -1:
+ free (my_pollfd);
if (errno == EINTR)
continue;
perror (_("svc_run: - poll failed"));
return;
case 0:
+ free (my_pollfd);
continue;
default:
svc_getreq_poll (my_pollfd, i);
+ free (my_pollfd);
}
}
}