From 5e3896aae0eb0f6caecf3deae3942ed0843368ea Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 10 Mar 2005 11:41:22 +0000 Subject: [PATCH] *** empty log message *** --- src/torrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torrent.cpp b/src/torrent.cpp index 7ac1afc15..94ebd0e5b 100755 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -514,7 +514,7 @@ namespace libtorrent // disconnect all peers and close all // files belonging to the torrent disconnect_all(); - m_storage->release_files(); + if (m_storage.get()) m_storage->release_files(); } void torrent::announce_piece(int index)