From 78e9123f8cbc964e2a39f6f5e54cc89e71cce653 Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 20 Oct 2015 18:20:37 -0400 Subject: [PATCH] added missing delete (issue #135) --- libretroshare/src/dbase/fimonitor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libretroshare/src/dbase/fimonitor.cc b/libretroshare/src/dbase/fimonitor.cc index 400853beb..91a8ffb9b 100644 --- a/libretroshare/src/dbase/fimonitor.cc +++ b/libretroshare/src/dbase/fimonitor.cc @@ -175,6 +175,7 @@ HashCache::HashCache(const std::string& path) if(!f->good()) { + delete f ; std::cerr << "Unencrypted file cache not present either." << std::endl; return ; }