File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ QgsHttpRequestHandler::QgsHttpRequestHandler( const bool captureOutput )
43
43
44
44
QgsHttpRequestHandler::~QgsHttpRequestHandler ()
45
45
{
46
+ delete mException ;
46
47
}
47
48
48
49
void QgsHttpRequestHandler::setHttpResponse ( QByteArray *ba, const QString &format )
@@ -455,7 +456,7 @@ void QgsHttpRequestHandler::setGetFeatureInfoResponse( const QDomDocument& infoD
455
456
456
457
void QgsHttpRequestHandler::setServiceException ( QgsMapServiceException ex )
457
458
{
458
- mException = &ex ;
459
+ mException = new QgsMapServiceException ( ex ) ;
459
460
// create Exception DOM document
460
461
QDomDocument exceptionDoc;
461
462
QDomElement serviceExceptionReportElem = exceptionDoc.createElement ( " ServiceExceptionReport" );
You can’t perform that action at this time.
0 commit comments