[vlmc-devel] commit: UploaderIODevice.cpp: Remove manual deletion, QFile m_file is contructed with 'this' which will ensure it gets deleted when 'this' gets deleted. (Rohit Yadav )

git at videolan.org git at videolan.org
Wed Sep 22 16:04:02 CEST 2010


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Wed Sep 22 19:51:06 2010 +0530| [b24dd72a64fa9cd7c3b462585b0f0d2ce063b1e6] | committer: Rohit Yadav 

UploaderIODevice.cpp: Remove manual deletion, QFile  m_file is contructed with 'this' which will ensure it gets deleted when 'this' gets deleted.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=b24dd72a64fa9cd7c3b462585b0f0d2ce063b1e6
---

 src/Services/UploaderIODevice.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/Services/UploaderIODevice.cpp b/src/Services/UploaderIODevice.cpp
index 41d3319..e17412c 100644
--- a/src/Services/UploaderIODevice.cpp
+++ b/src/Services/UploaderIODevice.cpp
@@ -36,7 +36,6 @@ UploaderIODevice::~UploaderIODevice()
 {
     delete m_head;
     delete m_tail;
-    delete m_file;
 }
 
 void



More information about the Vlmc-devel mailing list