Part: GeometryExtensions

========================

fixes #4087

Missing "break" in loop after finding the extension was causing segfault because of null pointer access, as the unique pointer had been std:move-d when found and was thus no longer valid.
This commit is contained in:
Abdullah Tahiri
2020-03-06 16:47:42 +01:00
committed by abdullahtahiriyo
parent 26e88f208d
commit b748cc6884

View File

@@ -316,6 +316,7 @@ void Geometry::setExtension(std::unique_ptr<GeometryExtension> && geo)
ext->getName() == geo->getName()){
ext = std::move(geo);
hasext = true;
break;
}
}