Commit 8ae1f45e authored by Jean-Luc Pons's avatar Jean-Luc Pons
Browse files

Fix ref bug

parent 3fb45f69
...@@ -1111,6 +1111,7 @@ void AttributeCombiner::write_dynspec_attributes(Tango::WAttribute &attr,DynSpec ...@@ -1111,6 +1111,7 @@ void AttributeCombiner::write_dynspec_attributes(Tango::WAttribute &attr,DynSpec
SAFE_FREE(item->refData); SAFE_FREE(item->refData);
item->refData = (double *)malloc( length* sizeof(double) ); item->refData = (double *)malloc( length* sizeof(double) );
memcpy(item->refData,w_val,length*sizeof(double)); memcpy(item->refData,w_val,length*sizeof(double));
item->refSize = length;
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment