diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-02-13 14:54:55 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-13 11:46:55 -0500 |
commit | 129310e872a0a70e721ba59363e518176ef406d6 (patch) | |
tree | 1df031ed8c69a22b89891d7e6e7d95535deff775 /src/responder/autofs | |
parent | 2cba1c86f48db866fc72738a32eecbbdcdf3dbdb (diff) | |
download | sssd-129310e872a0a70e721ba59363e518176ef406d6.tar.gz sssd-129310e872a0a70e721ba59363e518176ef406d6.tar.xz sssd-129310e872a0a70e721ba59363e518176ef406d6.zip |
Allocate setent structure on state, not on the client context
https://fedorahosted.org/sssd/ticket/1189
Diffstat (limited to 'src/responder/autofs')
-rw-r--r-- | src/responder/autofs/autofssrv_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/autofs/autofssrv_cmd.c b/src/responder/autofs/autofssrv_cmd.c index 73dbc5eaa..2be872902 100644 --- a/src/responder/autofs/autofssrv_cmd.c +++ b/src/responder/autofs/autofssrv_cmd.c @@ -436,7 +436,7 @@ setautomntent_send(TALLOC_CTX *mem_ctx, DEBUG(SSSDBG_TRACE_LIBS, ("Map %s is being looked up, registering for notification\n", state->mapname)); - ret = autofs_setent_add_ref(cmdctx->cctx, state->map, req); + ret = autofs_setent_add_ref(state, state->map, req); if (ret != EOK) { goto fail; } @@ -460,7 +460,7 @@ setautomntent_send(TALLOC_CTX *mem_ctx, } state->map->map_table = actx->maps; - ret = autofs_setent_add_ref(cmdctx->cctx, state->map, req); + ret = autofs_setent_add_ref(state, state->map, req); if (ret != EOK) { talloc_free(state->map); goto fail; |