Jump to content

  • Log In with Google      Sign In   
  • Create Account


D3DXSaveMeshHierarchyToFile causes memory leak


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 belfegor   Crossbones+   -  Reputation: 2560

Like
0Likes
Like

Posted 23 June 2012 - 03:26 AM

Right after i load my model with D3DXLoadMeshHierarchyFromX function i use:
hr = D3DXSaveMeshHierarchyToFile("test.x", D3DXF_FILEFORMAT_BINARY, root, animControler, 0);
    if(FAILED(hr))
    {
        MessageBox(0, TEXT("D3DXSaveMeshHierarchyToFile() failed"), 0, 0);
    }

File is saved properly but when i exit app it throws me this message:

D3DX: MEMORY LEAKS DETECTED: 680 allocations unfreed (43520 bytes)


But if i comment above function there is no memory leak report in output window.

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS