pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/39131?usp=email )
Change subject: rspro_client_fsm: Fix missing return ......................................................................
rspro_client_fsm: Fix missing return
Recent commit added error return code paths through goto labels at the end, but forgot to add a return statement to avoid running onto them during normal code flow.
Fixes: 8cfe1d808a57a0a877e934e0435651a6b792db8d Change-Id: I813432d42135b5f3f086ad93bd63bfa39f4becbc --- M src/rspro_client_fsm.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/31/39131/1
diff --git a/src/rspro_client_fsm.c b/src/rspro_client_fsm.c index 29e0287..6a48ce4 100644 --- a/src/rspro_client_fsm.c +++ b/src/rspro_client_fsm.c @@ -493,6 +493,7 @@ /* FIXME: retry? Timer? Abort? */ goto err_free_ka_fi; } + return;
err_free_ka_fi: osmo_ipa_ka_fsm_free(srvc->ka_fi);