sync 3.0 into HEAD for the last time
[metze/samba/wip.git] / source3 / rpc_server / srv_pipe_hnd.c
index 125f6037710b88dd8f59c50eb2f61e74deb69cfe..55def9767324ce9307dbef017d37d2a83e149d20 100644 (file)
@@ -1106,6 +1106,8 @@ static BOOL close_internal_rpc_pipe_hnd(void *np_conn)
 
        if (p->mem_ctx)
                talloc_destroy(p->mem_ctx);
+               
+       free_pipe_rpc_context( p->contexts );
 
        /* Free the handles database. */
        close_policy_by_pipe(p);