Index: trunk/BNC/src/bncnetqueryv2.cpp
===================================================================
--- trunk/BNC/src/bncnetqueryv2.cpp	(revision 7611)
+++ trunk/BNC/src/bncnetqueryv2.cpp	(revision 7612)
@@ -11,5 +11,5 @@
  * Created:    27-Dec-2008
  *
- * Changes:    
+ * Changes:
  *
  * -----------------------------------------------------------------------*/
@@ -28,7 +28,7 @@
   _secure    = secure;
   _manager   = new QNetworkAccessManager(this);
-  connect(_manager, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&, 
+  connect(_manager, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&,
                                                        QAuthenticator*)),
-          this, SLOT(slotProxyAuthenticationRequired(const QNetworkProxy&, 
+          this, SLOT(slotProxyAuthenticationRequired(const QNetworkProxy&,
                                                      QAuthenticator*)));
   _reply     = 0;
@@ -38,5 +38,5 @@
 
   bncSettings settings;
-  _sslIgnoreErrors = 
+  _sslIgnoreErrors =
      (Qt::CheckState(settings.value("sslIgnoreErrors").toInt()) == Qt::Checked);
 
@@ -72,5 +72,5 @@
     _status = error;
     emit newMessage(_url.path().toAscii().replace(0,1,"")  +
-                    ": NetQueryV2: server replied: " + 
+                    ": NetQueryV2: server replied: " +
                     _reply->attribute(QNetworkRequest::HttpReasonPhraseAttribute).toByteArray(),
                     true);
@@ -81,7 +81,7 @@
 }
 
-// 
-////////////////////////////////////////////////////////////////////////////
-void bncNetQueryV2::slotProxyAuthenticationRequired(const QNetworkProxy&, 
+//
+////////////////////////////////////////////////////////////////////////////
+void bncNetQueryV2::slotProxyAuthenticationRequired(const QNetworkProxy&,
                                                     QAuthenticator*) {
   emit newMessage("slotProxyAuthenticationRequired", true);
@@ -145,7 +145,7 @@
     QString uName = QUrl::fromPercentEncoding(_url.userName().toAscii());
     QString passW = QUrl::fromPercentEncoding(_url.password().toAscii());
-    request.setRawHeader("Authorization", "Basic " + 
+    request.setRawHeader("Authorization", "Basic " +
                          (uName + ":" + passW).toAscii().toBase64());
-  } 
+  }
   if (!gga.isEmpty()) {
     request.setRawHeader("Ntrip-GGA", gga);
@@ -153,5 +153,4 @@
   request.setRawHeader("Connection"   , "close");
 
-  delete _reply;
   _reply = _manager->get(request);
 
@@ -207,5 +206,5 @@
 }
 
-// TSL/SSL 
+// TSL/SSL
 ////////////////////////////////////////////////////////////////////////////
 void bncNetQueryV2::slotSslErrors(QList<QSslError> errors) {
