summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2013-02-10 20:28:30 +0100
committerDees_Troy <dees_troy@yahoo.com>2013-02-13 20:16:03 +0100
commit8a68c31ffc98bda5abd3bd03f49727c7400bbba8 (patch)
tree6cabf8a7768f3aade87d2db8f6580fdc98b1ed52 /twrpTar.cpp
parentChange popen in twrpTar to __popen (diff)
downloadandroid_bootable_recovery-8a68c31ffc98bda5abd3bd03f49727c7400bbba8.tar
android_bootable_recovery-8a68c31ffc98bda5abd3bd03f49727c7400bbba8.tar.gz
android_bootable_recovery-8a68c31ffc98bda5abd3bd03f49727c7400bbba8.tar.bz2
android_bootable_recovery-8a68c31ffc98bda5abd3bd03f49727c7400bbba8.tar.lz
android_bootable_recovery-8a68c31ffc98bda5abd3bd03f49727c7400bbba8.tar.xz
android_bootable_recovery-8a68c31ffc98bda5abd3bd03f49727c7400bbba8.tar.zst
android_bootable_recovery-8a68c31ffc98bda5abd3bd03f49727c7400bbba8.zip
Diffstat (limited to 'twrpTar.cpp')
-rw-r--r--twrpTar.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp
index 263684995..43448672c 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -57,6 +57,7 @@ int twrpTar::createTarGZThread() {
if(pthread_join(thread, NULL)) {
return -1;
}
+ TWFunc::drop_caches();
return 0;
}
@@ -68,6 +69,7 @@ int twrpTar::createTarThread() {
if(pthread_join(thread, NULL)) {
return -1;
}
+ TWFunc::drop_caches();
return 0;
}
@@ -79,6 +81,7 @@ int twrpTar::extractTarThread() {
if(pthread_join(thread, NULL)) {
return -1;
}
+ TWFunc::drop_caches();
return 0;
}
@@ -90,6 +93,7 @@ int twrpTar::splitArchiveThread() {
if(pthread_join(thread, NULL)) {
return -1;
}
+ TWFunc::drop_caches();
return 0;
}