Skip to content

Commit

Permalink
Merge pull request #9968 from OSGeo/backport-9966-to-release/3.9
Browse files Browse the repository at this point in the history
[Backport release/3.9] MiraMonVector: Fixing chromium bug 68809 correctly
  • Loading branch information
rouault authored May 20, 2024
2 parents 2ee0b46 + c67e7c5 commit 9d2bfeb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ogr/ogrsf_frmts/miramon/mm_wrlayr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4409,7 +4409,10 @@ static int MMCreateRecordDBF(struct MiraMonVectLayerInfo *hMiraMonLayer,
if (hMiraMonLayer->TopHeader.nElemCount == 0)
{
if (MMCreateMMDB(hMiraMonLayer, nullptr))
{
MMDestroyMMDB(hMiraMonLayer);
return MM_FATAL_ERROR_WRITING_FEATURES;
}
}

result = MMAddDBFRecordToMMDB(hMiraMonLayer, hMMFeature);
Expand Down

0 comments on commit 9d2bfeb

Please sign in to comment.