diff options
author | Chris Wilson <chris+github@qwirx.com> | 2012-04-11 23:00:54 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2012-04-11 23:00:54 +0000 |
commit | 56a9cd8b7f8b626d57c6fa613d799a336c3655b1 (patch) | |
tree | ceea10d748ca6dee6d56f2301a338f348201b161 /bin/bbackupd/BackupClientContext.h | |
parent | a09e4dbe5753c5aca0653c8e73fd64fd5a265668 (diff) |
Fix a memory leak when TcpNice is disabled.
Diffstat (limited to 'bin/bbackupd/BackupClientContext.h')
-rw-r--r-- | bin/bbackupd/BackupClientContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupClientContext.h b/bin/bbackupd/BackupClientContext.h index 41d90ff0..9d0ca88f 100644 --- a/bin/bbackupd/BackupClientContext.h +++ b/bin/bbackupd/BackupClientContext.h @@ -224,7 +224,7 @@ private: std::string mHostname; int mPort; uint32_t mAccountNumber; - std::auto_ptr<IOStream> mapSocket; + std::auto_ptr<SocketStream> mapSocket; std::auto_ptr<NiceSocketStream> mapNice; std::auto_ptr<BackupProtocolClient> mapConnection; bool mExtendedLogging; |