Neels Hofmeyr has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/12240 )

Change subject: comment: vlr: put the 'balancing' comment closer to the put()
......................................................................

comment: vlr: put the 'balancing' comment closer to the put()

Change-Id: Ic42768b22d63d182455c8d860961c44159973d0c
---
M src/libvlr/vlr.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Max: Looks good to me, but someone else must approve
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/libvlr/vlr.c b/src/libvlr/vlr.c
index 975b240..7de78bf 100644
--- a/src/libvlr/vlr.c
+++ b/src/libvlr/vlr.c
@@ -1142,6 +1142,7 @@
 bool vlr_subscr_expire(struct vlr_subscr *vsub)
 {
        if (vsub->lu_complete) {
+               /* balancing the get from vlr_lu_compl_fsm_success() */
                vsub->lu_complete = false;
                vlr_subscr_put(vsub);

@@ -1160,7 +1161,6 @@
        vsub->imsi_detached_flag = true;
        vsub->expire_lu = VLR_SUBSCRIBER_NO_EXPIRATION;

-       /* balancing the get from vlr_lu_compl_fsm_success() */
        vlr_subscr_expire(vsub);

        return 0;

--
To view, visit https://gerrit.osmocom.org/12240
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic42768b22d63d182455c8d860961c44159973d0c
Gerrit-Change-Number: 12240
Gerrit-PatchSet: 2
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msur...@sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pes...@sysmocom.de>

Reply via email to