Commit 9c19b3ac authored by Claes Sjofors's avatar Claes Sjofors

Bugfix for subscription buffer mismatch

parent 56f51cca
......@@ -82,6 +82,7 @@ sub_UnlinkObject (
sp->data = pool_cNRef;
sp->sts = GDH__NOSUCHOBJ;
if ( op->u.n.subcount > 0) /* Subscriptions on invalid offset will allocate buffer without increasing count */
op->u.n.subcount--;
}
}
......
......@@ -124,6 +124,7 @@ subs_UnlinkObject (
sp->data = pool_cNRef;
sp->sts = GDH__NOSUCHOBJ;
if ( op->u.n.subcount > 0) /* Subscriptions on invalid offset will allocate buffer without increasing count */
op->u.n.subcount--;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment