2 Replies Latest reply on Jul 9, 2018 10:48 PM by ricxp56

    Intel® Media SDK 2018 R1 - Media Samples 8.3.26.352\sample_decode MEMORY LEAKS

    ricxp56

      Hi,

       

      Can you give me some advice on a number of memory leaks I am seeing with the latest

      Intel® Media SDK 2018 R1 - Media Samples 8.3.26.352\sample_decode

       

      If you loop 'main' 5 times in the decode sampel, adding the call to Pipeline.Close(); on each iteration

      (also add  UnregisterClass(m_sWindowParams.lpClassName, GetModuleHandle(NULL)); in CDecodeD3DRender::Close())

       

      You see the attached memory leaks.

       

      It is very common for a window to host a number of different streams for decode.

       

      This is a simple test to illustrate the leaks, in our released code the structure is more defined for purpose but we see the same leaks.

      ie, our window is never actually closed.

       

      Thank you in advance.