Fixed memory leak in HTTP server

This commit is contained in:
Christophe Dumez 2008-09-12 19:58:57 +00:00
parent 918c1507d3
commit e21c28e9d2
2 changed files with 4 additions and 2 deletions

View file

@ -26,7 +26,7 @@
#include <QByteArray>
class bittorrent;
class QTimer;
class EventManager;
class HttpServer : public QTcpServer
@ -37,6 +37,7 @@ class HttpServer : public QTcpServer
QByteArray base64;
bittorrent *BTSession;
EventManager *manager;
QTimer *timer;
public:
HttpServer(bittorrent *BTSession, int msec, QObject* parent = 0);