]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
build fixes
authorAlan T. DeKok <aland@freeradius.org>
Mon, 12 Aug 2019 13:34:47 +0000 (09:34 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 12 Aug 2019 13:34:47 +0000 (09:34 -0400)
src/lib/unlang/parallel.c

index dabdc0a8a64a182eee105a0c578be1a1a39f2854..02f8350744a0d2f6a475d1e79251d26cd194eb12 100644 (file)
@@ -112,14 +112,16 @@ static rlm_rcode_t unlang_parallel_run(REQUEST *request, unlang_parallel_t *stat
                                 *      it into the backlog.
                                 */
                                if (unlang_detach(child, &result, &priority) == UNLANG_ACTION_CALCULATE_RESULT) {
-                                       return UNLANG_ACTION_STOP_PROCESSING;
                                        talloc_free(child);
+                                       done = CHILD_DONE;
+                                       break;
                                }
 
                                if (fr_heap_insert(child->backlog, child) < 0) {
                                        RPERROR("Failed inserting child into backlog");
                                        talloc_free(child);
-                                       return UNLANG_ACTION_STOP_PROCESSING;
+                                       done = CHILD_DONE;
+                                       break;
                                }
 
                                continue;