[arrayfire] 50/75: Clear the free_map after calling garbageCollect in MemoryManager
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Feb 29 08:01:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.
commit d6d08f96384a1b1b441f61caafe3a41001eb0482
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date: Mon Feb 22 16:40:54 2016 -0500
Clear the free_map after calling garbageCollect in MemoryManager
---
src/backend/MemoryManager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend/MemoryManager.cpp b/src/backend/MemoryManager.cpp
index a761162..a2bbb7d 100644
--- a/src/backend/MemoryManager.cpp
+++ b/src/backend/MemoryManager.cpp
@@ -87,6 +87,7 @@ void MemoryManager::garbageCollect()
kv.second.pop_back();
}
}
+ current.free_map.clear();
}
void MemoryManager::unlock(void *ptr, bool user_unlock)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list