On Tue, Oct 08, 2013 at 03:17:29AM +0200, Alexander Chemeris wrote: > - if (subscr->use_count <= 0 && !subscr->net->keep_subscr) > + if (subscr->use_count <= 0 && (!subscr->net || > !subscr->net->keep_subscr))
okay, that is a difficult one. I posted my first patch to remove the network from the db code. So maybe we expose subscr_free and the db code (and test code) will just directly free the subscriber (or abort when the use_count != 1)? What do you think?
