diff --git a/indra/llrender/llgl.h b/indra/llrender/llgl.h --- a/indra/llrender/llgl.h +++ b/indra/llrender/llgl.h @@ -427,6 +427,7 @@ virtual void placeFence() = 0; virtual bool isCompleted() = 0; virtual void wait() = 0; + virtual ~LLGLFence(){} //fixes potential memory leak!! base class should have a virtual destroyer. }; class LLGLSyncFence : public LLGLFence