Skip to content

Commit

Permalink
Merge pull request OSGeo#9966 from AbelPau/Fix-Fixing-chromium-bug-co…
Browse files Browse the repository at this point in the history
…rrectly

MiraMonVector: Fixing chromium bug 68809 correctly
  • Loading branch information
rouault authored May 20, 2024
2 parents efb8078 + f2434e7 commit a05a16d
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 a05a16d

Please sign in to comment.