Skip to content

Commit

Permalink
Fix crash if the prj cannot be opened (#5395)
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Feb 21, 2017
1 parent 937cc31 commit e85f8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapshape.c
Original file line number Diff line number Diff line change
Expand Up @@ -2624,8 +2624,8 @@ int msSHPLayerOpen(layerObj *layer)
}
OSRDestroySpatialReference(hSRS);
}
fclose(fp);
}
fclose(fp);

if( bOK != MS_TRUE )
{
Expand Down

0 comments on commit e85f8e3

Please sign in to comment.