summaryrefslogtreecommitdiffstats
path: root/src/responder/secrets/secsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/secrets/secsrv.c')
-rw-r--r--src/responder/secrets/secsrv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/secrets/secsrv.c b/src/responder/secrets/secsrv.c
index 09b0d2251..28eca9d20 100644
--- a/src/responder/secrets/secsrv.c
+++ b/src/responder/secrets/secsrv.c
@@ -136,6 +136,8 @@ static int sec_process_init(TALLOC_CTX *mem_ctx,
rctx->sock_name = SSS_SEC_SOCKET_NAME;
rctx->confdb_service_path = CONFDB_SEC_CONF_ENTRY;
rctx->shutting_down = false;
+ rctx->lfd = -1;
+ rctx->priv_lfd = -1;
talloc_set_destructor((TALLOC_CTX*)rctx, sec_responder_ctx_destructor);