Skip to content

Commit

Permalink
cast pszUrl to void before calling CPLFree
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagenbrenner committed Apr 22, 2022
1 parent 44972d9 commit 721c8a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ninja/landfireclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ SURF_FETCH_E LandfireClient::FetchBoundingBox( double *bbox, double resolution,
"status: %d", i, nMaxTries, dl_status );
} while( dl_status < 400 && dl_status > 0 && i < nMaxTries );

CPLFree(pszUrl);
CPLFree( (void*) pszUrl );
delete [] pszResponse;

if( dl_status >= 900 && dl_status <= 902)
Expand Down

0 comments on commit 721c8a4

Please sign in to comment.