Permalink
Browse files

Removed double free in WFS layer (#5085)

  • Loading branch information...
mkofahl authored and tbonfort committed Mar 31, 2015
1 parent d0043f2 commit 9da77c11f7e6ab1265a6a0bcf9975d6c8e3a5841
Showing with 0 additions and 2 deletions.
  1. +0 −2 mapwfslayer.c
View
@@ -658,7 +658,6 @@ int msPrepareWFSLayerRequest(int nLayerId, mapObj *map, layerObj *lp,
pasReqInfo, *numRequests, map, "FO") != MS_SUCCESS) {
if (psParams) {
msWFSFreeParamsObj(psParams);
free(psParams);
}
return MS_FAILURE;
}
@@ -690,7 +689,6 @@ int msPrepareWFSLayerRequest(int nLayerId, mapObj *map, layerObj *lp,
if (psParams) {
msWFSFreeParamsObj(psParams);
free(psParams);
}
return nStatus;

0 comments on commit 9da77c1

Please sign in to comment.