X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=flavors%2Fgl%2Fsource%2Fprofiler.cpp;h=94496023ecf1f52178fa655f92a7b9a45774cf8e;hb=a34325fadec5b2be003bf9af1f081bfc4c83e8b6;hp=4b95208c4b0425424a2ca89d5973d096a4cce049;hpb=81f1ddee977603293d0c5710f2db69130dac6a96;p=gldbg.git diff --git a/flavors/gl/source/profiler.cpp b/flavors/gl/source/profiler.cpp index 4b95208..9449602 100644 --- a/flavors/gl/source/profiler.cpp +++ b/flavors/gl/source/profiler.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of gldbg -Copyright © 2010-2011 Mikko Rasa, Mikkosoft Productions -Distributed under the GPL -*/ - #include #include #include @@ -28,6 +21,11 @@ Profiler::Profiler(GlDbg &dbg): decoder->glXSwapBuffers = glXSwapBuffers; } +Profiler::~Profiler() +{ + gldecoder_delete(decoder); +} + void Profiler::decode(const char *data, unsigned len) { if(enabled)