qbs*oldstr3042=NULL;
if(_SUB_MAKEIDREFER_STRING_REF->tmp||_SUB_MAKEIDREFER_STRING_REF->fixed||_SUB_MAKEIDREFER_STRING_REF->readonly){
oldstr3042=_SUB_MAKEIDREFER_STRING_REF;
if (oldstr3042->cmem_descriptor){
_SUB_MAKEIDREFER_STRING_REF=qbs_new_cmem(oldstr3042->len,0);
}else{
_SUB_MAKEIDREFER_STRING_REF=qbs_new(oldstr3042->len,0);
}
memcpy(_SUB_MAKEIDREFER_STRING_REF->chr,oldstr3042->chr,oldstr3042->len);
}
