diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-12-17 03:01:38 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-12-19 23:27:34 +0100 |
commit | 726a0206326ca4cf22aa7c59e174a83a0da9727f (patch) | |
tree | 5f0275dfed9c51b255e73feaeba609cd7a762da1 /mtp/btree.cpp | |
parent | Recovery init.rc setenforce 0 to make SELinux permissive (diff) | |
download | android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.gz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.bz2 android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.lz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.xz android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.tar.zst android_bootable_recovery-726a0206326ca4cf22aa7c59e174a83a0da9727f.zip |
Diffstat (limited to '')
-rwxr-xr-x | mtp/btree.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mtp/btree.cpp b/mtp/btree.cpp index 3a5648db0..e53afab98 100755 --- a/mtp/btree.cpp +++ b/mtp/btree.cpp @@ -28,6 +28,7 @@ Tree::Tree(MtpObjectHandle handle, MtpObjectHandle parent, const std::string& na Tree::~Tree() { for (std::map<MtpObjectHandle, Node*>::iterator it = entries.begin(); it != entries.end(); ++it) delete it->second; + entries.clear(); } int Tree::getCount(void) { |