diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-31 17:32:03 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-01-31 17:32:03 +0000 |
commit | bf6a6d45043393f8cd9c942d7f03b789fe2c94b3 (patch) | |
tree | e53d98d6c8b03b588a36a3f8d0ebdf52f43028d2 /include/utils | |
parent | 973d1211c6289c5b6076a7804a0172a89ac32615 (diff) |
fix leaks in SkConf
These leaks were small and would only happen with non-default
runtime configuration things set, but they were still leaks
and they should be squished.
Valgrind reported leaks pre-patch, and all the rtconf leaks are gone after patch.
BUG=skia:1722
R=reed@google.com
Author: humper@google.com
Review URL: https://codereview.chromium.org/136963004
git-svn-id: http://skia.googlecode.com/svn/trunk@13269 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/SkRTConf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/SkRTConf.h b/include/utils/SkRTConf.h index 37e3259d68..4ba607011d 100644 --- a/include/utils/SkRTConf.h +++ b/include/utils/SkRTConf.h @@ -74,6 +74,7 @@ protected: class SkRTConfRegistry { public: SkRTConfRegistry(); + ~SkRTConfRegistry(); void printAll(const char *fname = NULL) const; bool hasNonDefault() const; void printNonDefault(const char *fname = NULL) const; |