From 3c17a1410ba1649db7dab674362c688c8fb78d07 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 23 Dec 2008 15:07:29 +0000 Subject: [PATCH] - Fixed memory leak in torrent addition dialog --- src/torrentAddition.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/torrentAddition.h b/src/torrentAddition.h index 619f0033c..304dc8a94 100644 --- a/src/torrentAddition.h +++ b/src/torrentAddition.h @@ -94,6 +94,10 @@ class torrentAdditionDialog : public QDialog, private Ui_addTorrentDialog{ } } + ~torrentAdditionDialog() { + delete PropDelegate; + } + void showLoad(QString filePath, bool fromScanDir=false, QString from_url=QString::null){ this->filePath = filePath; this->fromScanDir = fromScanDir;