Kaydet (Commit) a7bd6830 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1397206 Resource leak

Change-Id: I497388a353425811ff18d9b1937ca536b562ddfc
üst 932719a8
......@@ -106,10 +106,10 @@ void CSVFetchThread::EndThread()
void CSVFetchThread::execute()
{
LinesType* pLines = new LinesType(10);
LinesType aLines(10);
// Read & store new lines from stream.
for (Line & rLine : *pLines)
for (Line & rLine : aLines)
{
rLine.maCells.clear();
mpStream->ReadLine(rLine.maLine);
......
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