summaryrefslogtreecommitdiffstats
path: root/omfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/omfwd.c b/omfwd.c
index d773b23a..16f30f16 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -181,6 +181,9 @@ CODESTARTfreeInstance
gss_base_service_name = NULL;
}
# endif
+ /* final cleanup */
+ if(pData->sock >= 0)
+ close(pData->sock);
ENDfreeInstance