diff options
-rw-r--r-- | server/subscr.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/server/subscr.c b/server/subscr.c index 4328056..8a06813 100644 --- a/server/subscr.c +++ b/server/subscr.c @@ -160,13 +160,12 @@ add_subscriptions(Client *who, } } if (realm && !bdumping) { - retval = subscr_realm_sendit(who, subs, notice, realm); - if (retval != ZERR_NONE) { - free_subscription(subs); - continue; /* the for loop */ + retval = subscr_realm_sendit(who, subs, notice, realm); + if (retval != ZERR_NONE) { + free_subscription(subs); + continue; /* the for loop */ } else { - /* Indicates we leaked traffic back to our realm */ - free_subscription(subs); /* free this one, wil get from + free_subscription(subs); /* free this one, wil get from ADD */ } } else { |