commit | 2e8665de7c0eb4514c67baf8693d61c892e5303d | [log] [tgz] |
---|---|---|
author | Jason Sams <[email protected]> | Thu Jan 27 00:14:13 2011 -0800 |
committer | Stephen Hines <[email protected]> | Thu Jan 27 19:36:54 2011 -0800 |
tree | 9eb68ca9ef39c15465f95b5296e41d8e424eb3e9 | |
parent | e31775b3eee19595335d62bcbe3ad699d1e7e656 [diff] [blame] |
Correctly free resouces bound to scripts when the scripts are deleted. Change-Id: Idfcc30f1a7de0badeb6d8254ed508938d89f4070 b: 3381615
diff --git a/rsFont.h b/rsFont.h index 00d77c8..4820999 100644 --- a/rsFont.h +++ b/rsFont.h
@@ -119,6 +119,7 @@ Font(Context *rsc); bool init(const char *name, float fontSize, uint32_t dpi, const void *data = NULL, uint32_t dataLen = 0); + virtual void preDestroy() const; FT_Face mFace; bool mInitialized; bool mHasKerning;