Skip to content

Commit b89e4f9

Browse files
committed
Enable memory leak detection for reference app.
1 parent b1c6ba1 commit b89e4f9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Sources/WindowsReferenceApp/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include "NE_Debug.hpp"
12
#include "Application.hpp"
23
#include "ResourceIds.hpp"
34
#include "CommandIds.hpp"
@@ -111,6 +112,7 @@ LRESULT CALLBACK ApplicationWindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPAR
111112

112113
int wWinMain (HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPWSTR /*lpCmdLine*/, int /*nCmdShow*/)
113114
{
115+
EnableLeakDetection ();
114116
InitCommonControls ();
115117

116118
Application application;

0 commit comments

Comments
 (0)