Permalink
Browse files

Fix significant leak of File Transfer sockets/threads

  • Loading branch information...
stuartm committed Jun 2, 2013
1 parent 0dcfe55 commit b8b3ad1a2d6ae8679b7792d53df26425da0a9182
Showing with 3 additions and 0 deletions.
  1. +3 −0 mythtv/programs/mythbackend/filetransfer.cpp
@@ -41,6 +41,9 @@ FileTransfer::~FileTransfer()
{
Stop();
if (sock) // FileTransfer becomes responsible for deleting the socket
sock->DecrRef();
if (rbuffer)
{
delete rbuffer;

0 comments on commit b8b3ad1

Please sign in to comment.