work on RAII and memory leaks
This commit is contained in:
@@ -48,7 +48,6 @@ static PVRecordPtr createScalar(
|
||||
{
|
||||
PVStructurePtr pvStructure = getStandardPVField()->scalar(scalarType,properties);
|
||||
PVRecordPtr pvRecord = PVRecord::create(recordName,pvStructure);
|
||||
pvStructure.reset();
|
||||
return pvRecord;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user