commit | 31529ff7918ce891fba9a660d0a861eb313ea554 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Fri Sep 17 10:26:31 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Fri Sep 17 10:26:31 2010 -0700 |
tree | 8be25943daf28a7e39af5d87d389abf1e986dd5a | |
parent | a977120681904ee6309f3e90f51c6cc43615c007 [diff] [blame] |
Correctly free memory. Change-Id: I08fcbfa7d27ae413e0a8e8ca6ea305c8530a72c1
diff --git a/libs/hwui/Line.h b/libs/hwui/Line.h index 48e18eb..75f3321e 100644 --- a/libs/hwui/Line.h +++ b/libs/hwui/Line.h
@@ -74,8 +74,8 @@ ~Line() { delete mPatch; - delete mXDivs; - delete mYDivs; + delete[] mXDivs; + delete[] mYDivs; glDeleteTextures(1, &mTexture); }