X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=retrace%2Fd3d9state.cpp;h=99cb6037655247d9825fb009a0cec9946bb8431d;hb=61a25343ca58efa75b2d2d7c8b062b9ccee1d02b;hp=3865cb3963d9fe467ab958654a5a2a74f70354c1;hpb=e1124f42da8db4c0fe39a908c292aa2a9be7b9cb;p=apitrace diff --git a/retrace/d3d9state.cpp b/retrace/d3d9state.cpp index 3865cb3..99cb603 100644 --- a/retrace/d3d9state.cpp +++ b/retrace/d3d9state.cpp @@ -67,6 +67,8 @@ dumpShader(JSONWriter &json, const char *name, T *pShader) { free(pData); } } + + pShader->Release(); } static void