summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-07-25 23:40:38 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-07-25 23:40:38 +0800
commitfff589be8d4a363c01c698c052fc43de806f5055 (patch)
tree454cb2bf3a1f8a4bd4a240a8221d330ef0c77f13
parentfb8372293631856084e6151ffa3fa066515b7aae (diff)
downloadbullet-lab-remix-fff589be8d4a363c01c698c052fc43de806f5055.tar.xz
Fixed a memory leak...BLR2
SMELT is coming soon...
-rw-r--r--libcghEx.cpp1
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);}