diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index 8c4c64f2..9c6a344e 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -438,6 +438,7 @@ void ExitFunction() ReleaseDirectInput(); ReleaseDirectSound(); ReleaseDirectDraw(); + FreeDirectX(); DestroyWindow(hMainWindow); }