Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(63)

Issue 6344057: Fixed memory deletion error in instance counting mechanism (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by robertphillips
Modified:
12 years, 1 month ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

The gChildren SkTArray static member variable of the SkInstanceCountHelper classes was being deleted before the exitPrint call was invoked. This patch makes the gChildren member a pointer to an SkTArray so the memory can be cleaned up after the atexit call to exitPrint.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -10 lines) Patch
M include/core/SkInstCnt.h View 3 chunks +19 lines, -10 lines 0 comments Download

Messages

Total messages: 3
robertphillips
12 years, 1 month ago (2012-06-28 21:20:02 UTC) #1
bsalomon
LGTM
12 years, 1 month ago (2012-06-28 21:29:43 UTC) #2
robertphillips
12 years, 1 month ago (2012-06-28 21:31:01 UTC) #3
committed as r4399
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b