Permalink
Browse files

msContourLayerGenerateContour(): fix crash with GDAL trunk

  • Loading branch information...
rouault committed Sep 20, 2014
1 parent 87d609e commit 28d8be35ba42dca9a64bb5240ddd744c64cf6caa
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapcontour.c
View
@@ -548,7 +548,7 @@ static int msContourLayerGenerateContour(layerObj *layer)
return MS_FAILURE;
}
clinfo->hOGRDS = OGR_Dr_CreateDataSource(hDriver, NULL, NULL);
clinfo->hOGRDS = OGR_Dr_CreateDataSource(hDriver, "", NULL);
if (clinfo->hOGRDS == NULL) {
msSetError(MS_OGRERR,
"Unable to create OGR DataSource.",

0 comments on commit 28d8be3

Please sign in to comment.