summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-07 19:41:14 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-07 19:41:14 -0400
commit8ba6d289f8c71a359ed0315e739dcaac7fc5aa8c (patch)
tree4ca81fdb0408687ce14633c01cee6616deac41bb
parent540e36f3a050a84ee553425abdad5a3a725a024b (diff)
downloadslapi-nis-8ba6d289f8c71a359ed0315e739dcaac7fc5aa8c.tar.gz
slapi-nis-8ba6d289f8c71a359ed0315e739dcaac7fc5aa8c.tar.xz
slapi-nis-8ba6d289f8c71a359ed0315e739dcaac7fc5aa8c.zip
- free the tcp_wrappers struct at shutdown-time
-rw-r--r--src/plug-nis.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plug-nis.c b/src/plug-nis.c
index 1bd6c19..e0f1707 100644
--- a/src/plug-nis.c
+++ b/src/plug-nis.c
@@ -143,6 +143,9 @@ plugin_shutdown(Slapi_PBlock *pb)
}
wrap_stop_thread(state->tid);
map_done(state);
+#ifdef HAVE_TCPD_H
+ free(state->request_info);
+#endif
free(state);
return 0;
}