rem: if(jbc->close != NULL) { _M_SHM_FREE(jbc->close); jbc->close = NULL; }
context: int xj_jcon_free(xj_jcon jbc){	xj_jconf jcf;		if(jbc == NULL)		return -1;	DBG("XJAB:xj_jcon_free: -----START-----\n");	//if(jbc->sock != -1)	//	jb_disconnect(jbc);	if(jbc->hostname != NULL)		_M_FREE(jbc->hostname);	if(jbc->stream_id != NULL)		_M_FREE(jbc->stream_id);	if(jbc->close != NULL)	{		_M_SHM_FREE(jbc->close);		jbc->close = NULL;	}	if(jbc->resource != NULL)		_M_FREE(jbc->resource);	DBG("XJAB:xj_jcon_free: %d conferences\n", jbc->nrjconf);	while(jbc->nrjconf > 0)	{		if((jcf=delpos234(jbc->jconf,0))!=NULL)			xj_jconf_free(jcf);		jbc->nrjconf--;	}	_M_FREE(jbc);	DBG("XJAB:xj_jcon_free: -----END-----\n");	return 0;}