Fixed potential memory leak

This commit is contained in:
Robert Osfield
2016-06-20 14:04:38 +01:00
parent 1573140165
commit 74cb7df3c0

View File

@@ -399,6 +399,10 @@ osgDB::ReaderWriter* ZipArchive::ReadFromZipEntry(const ZIPENTRY* ze, const osgD
return rw;
}
}
else
{
delete[] ibuf;
}
}
else
{