diff options
author | Chris Xiong <chirs241097@gmail.com> | 2015-07-25 23:40:38 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2015-07-25 23:40:38 +0800 |
commit | fff589be8d4a363c01c698c052fc43de806f5055 (patch) | |
tree | 454cb2bf3a1f8a4bd4a240a8221d330ef0c77f13 | |
parent | fb8372293631856084e6151ffa3fa066515b7aae (diff) | |
download | bullet-lab-remix-fff589be8d4a363c01c698c052fc43de806f5055.tar.xz |
Fixed a memory leak...BLR2
SMELT is coming soon...
-rw-r--r-- | libcghEx.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcghEx.cpp b/libcghEx.cpp index 3c19f14..9c9fa78 100644 --- a/libcghEx.cpp +++ b/libcghEx.cpp @@ -62,6 +62,7 @@ void CircleIndicator::SetValue(double _value) circle->SetColor(i,1,0x00000000); circle->SetColor(i,2,0x00000000); } + delete tc; } } void CircleIndicator::Render(double x,double y){circle->Render(x,y);} |