From 6c9df0bdc14e22e420e8e9902ea3215add5ee949 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Mon, 3 Jan 2011 14:23:49 -0500 Subject: - don't leak the poll fd array if we exit the thread on error (defect #10105) --- src/disp-nis.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/disp-nis.c b/src/disp-nis.c index 80b424b..844ab80 100644 --- a/src/disp-nis.c +++ b/src/disp-nis.c @@ -1001,6 +1001,7 @@ dispatch_thread(struct wrapped_thread *t) slapi_log_error(SLAPI_LOG_PLUGIN, state->plugin_desc->spd_id, "done waiting\n"); + free(fds); return NULL; break; case 0: -- cgit