summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-07 19:59:41 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-07 19:59:41 -0400
commit8764eecb1e6edf64765a4fc4596f421b42b833fe (patch)
treef5132e9aa01921fead5a79d407b3fbd01be16ef4
parent34a6841e024911e983d0bd3697e80229f5d3bc0d (diff)
downloadslapi-nis-8764eecb1e6edf64765a4fc4596f421b42b833fe.tar.gz
slapi-nis-8764eecb1e6edf64765a4fc4596f421b42b833fe.tar.xz
slapi-nis-8764eecb1e6edf64765a4fc4596f421b42b833fe.zip
- free the array of descriptors when we're finished with it
-rw-r--r--src/disp-nis.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/disp-nis.c b/src/disp-nis.c
index fe9337e..65ab512 100644
--- a/src/disp-nis.c
+++ b/src/disp-nis.c
@@ -1009,6 +1009,7 @@ dispatch_thread(struct wrapped_thread *t)
dispatch_service_client(state, client, &fds[i]);
}
}
+ free(fds);
slapi_log_error(SLAPI_LOG_PLUGIN,
state->plugin_desc->spd_id,
"listening thread stopping\n");