aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/SkTArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/private/SkTArray.h')
-rw-r--r--include/private/SkTArray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/private/SkTArray.h b/include/private/SkTArray.h
index 9e0b954fbf..3f4cc429b4 100644
--- a/include/private/SkTArray.h
+++ b/include/private/SkTArray.h
@@ -441,7 +441,7 @@ private:
if (!count && !reserveCount) {
fAllocCount = 0;
fMemArray = nullptr;
- fOwnMemory = false;
+ fOwnMemory = true;
fReserved = false;
} else {
fAllocCount = SkTMax(count, SkTMax(kMinHeapAllocCount, reserveCount));