add: DEBUG_LOG("freeing Virtual Subscription %p to %.*s\n", vs, FMT_STR(vs->uri));
context: void vs_free(virtual_subscription_t *vs){	int i, cnt;	vs_display_name_t dn;		if (vs) {/*		LOG(L_TRACE, "freeing Virtual Subscription\n");*/		remove_from_vs_list(vs);		/*		if ( (vs->package.len > 0) && (vs->package.s) ) 			shm_free(vs->package.s);*/				str_free_content(&vs->state_document);		str_free_content(&vs->content_type);				cnt = vector_size(&vs->display_names);		for (i = 0; i < cnt; i++) {			if (vector_get(&vs->display_names, i, &dn) != 0) continue;			if (dn.name.s && (dn.name.len > 0)) shm_free(dn.name.s);			if (dn.lang.s && (dn.lang.len > 0)) shm_free(dn.lang.s);		}		vector_destroy(&vs->display_names);		if (vs->local_subscription) {			unsubscribe(vsd->domain, vs->local_subscription);			msg_queue_destroy(&vs->mq);		}		shm_free(vs);/*		LOG(L_TRACE, "Virtual Subscription freed\n");*/	}}