Permalink
Browse files

Fix crash if the prj cannot be opened (#5395)

  • Loading branch information...
szekerest committed Feb 21, 2017
1 parent 937cc31 commit e85f8e39b5fa2931cab42ec84758771103c90700
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapshape.c
View
@@ -2624,8 +2624,8 @@ int msSHPLayerOpen(layerObj *layer)
}
OSRDestroySpatialReference(hSRS);
}
fclose(fp);
}
fclose(fp);
if( bOK != MS_TRUE )
{

0 comments on commit e85f8e3

Please sign in to comment.