Provide a mem_ctx for child requests
authorVolker Lendecke <vl@samba.org>
Fri, 31 Jul 2009 15:32:03 +0000 (17:32 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 31 Jul 2009 15:46:59 +0000 (17:46 +0200)
source3/winbindd/winbindd_dual.c

index 4709c17d636c4f3eb7662656e64173a507e3bf94..1985dd8b12b83eff01731f953122d74cb09d92fa 100644 (file)
@@ -1525,6 +1525,7 @@ static bool fork_domain_child(struct winbindd_child *child)
 
                ZERO_STRUCTP(state.response);
                state.request->null_term = '\0';
+               state.mem_ctx = frame;
                child_process_request(child, &state);
 
                DEBUG(4, ("Finished processing child request %d\n",