diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-03 14:23:49 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2011-01-03 14:23:49 -0500 |
commit | 6c9df0bdc14e22e420e8e9902ea3215add5ee949 (patch) | |
tree | c01e2b3e8ce161babe3e15abe9f954cc33d2305e | |
parent | ec06e91a5fa63afc4971f0b5f419d2d2e12343d4 (diff) | |
download | slapi-nis-6c9df0bdc14e22e420e8e9902ea3215add5ee949.tar.gz slapi-nis-6c9df0bdc14e22e420e8e9902ea3215add5ee949.tar.xz slapi-nis-6c9df0bdc14e22e420e8e9902ea3215add5ee949.zip |
- don't leak the poll fd array if we exit the thread on error (defect #10105)
-rw-r--r-- | src/disp-nis.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |