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