Skip to content

Commit

Permalink
Removed double free in WFS layer (#5085)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkofahl authored and tbonfort committed Mar 31, 2015
1 parent d0043f2 commit 9da77c1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mapwfslayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -690,7 +689,6 @@ int msPrepareWFSLayerRequest(int nLayerId, mapObj *map, layerObj *lp,

if (psParams) {
msWFSFreeParamsObj(psParams);
free(psParams);
}
return nStatus;

Expand Down

0 comments on commit 9da77c1

Please sign in to comment.