Skip to content

Commit

Permalink
Call "kaput" if module initialization fails for some reason.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed May 27, 2020
1 parent 63c02d2 commit 23bfc7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rtpp_cfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ parse_modules(const struct rtpp_cfg *csp, const ucl_object_t *wop)
e1:
ecode = -1;
RTPP_OBJ_DECREF(mif);
CALL_METHOD(mif, kaput);
goto e0;
}
e0:
Expand Down

0 comments on commit 23bfc7a

Please sign in to comment.