From 228ea434553aca05308e65f515bb0b6eb032bfe0 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 2 May 2014 12:21:05 +0000 Subject: [PATCH] fixed mismatched free/delete[] git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7319 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/dbase/fimonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/dbase/fimonitor.cc b/libretroshare/src/dbase/fimonitor.cc index 085fbd54f..293e9af4b 100644 --- a/libretroshare/src/dbase/fimonitor.cc +++ b/libretroshare/src/dbase/fimonitor.cc @@ -159,7 +159,7 @@ HashCache::HashCache(const std::string& path) std::string s((char *)decrypted_data,decrypted_data_size) ; f = new std::istringstream(s) ; - free(decrypted_data) ; + delete[] decrypted_data ; } else {