Skip to content
Browse files
[server] Safety measure to prevent potential leaks
  • Loading branch information
elpaso committed Feb 23, 2016
1 parent f986d74 commit b97e86da413295b7ff9f3214af638bb2fd6f3c40
Showing 1 changed file with 2 additions and 0 deletions.
@@ -456,6 +456,8 @@ void QgsHttpRequestHandler::setGetFeatureInfoResponse( const QDomDocument& infoD

void QgsHttpRequestHandler::setServiceException( QgsMapServiceException ex )
// Safety measure to avoid potential leaks if called repeatedly
delete mException;
mException = new QgsMapServiceException( ex );
//create Exception DOM document
QDomDocument exceptionDoc;

0 comments on commit b97e86d

Please sign in to comment.