Skip to content

Commit 28d8be3

Browse files
committed
msContourLayerGenerateContour(): fix crash with GDAL trunk
1 parent 87d609e commit 28d8be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapcontour.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ static int msContourLayerGenerateContour(layerObj *layer)
548548
return MS_FAILURE;
549549
}
550550

551-
clinfo->hOGRDS = OGR_Dr_CreateDataSource(hDriver, NULL, NULL);
551+
clinfo->hOGRDS = OGR_Dr_CreateDataSource(hDriver, "", NULL);
552552
if (clinfo->hOGRDS == NULL) {
553553
msSetError(MS_OGRERR,
554554
"Unable to create OGR DataSource.",

0 commit comments

Comments
 (0)