Resolve static analyzer warning about 'Potential leak of an object stored into 'dataProvider''