summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/Properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewAwaySysMod/src/Properties.h')
-rw-r--r--plugins/NewAwaySysMod/src/Properties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/src/Properties.h b/plugins/NewAwaySysMod/src/Properties.h
index 6e839ddd52..8edc9e4c5b 100644
--- a/plugins/NewAwaySysMod/src/Properties.h
+++ b/plugins/NewAwaySysMod/src/Properties.h
@@ -56,7 +56,7 @@ public:
{
_ASSERT(dat == (_CWndUserData*)GetWindowLongPtr(hWnd, GWLP_USERDATA));
if (!dat->MsgTree && !dat->CList) {
- SetWindowLongPtr(hWnd, GWLP_USERDATA, NULL);
+ SetWindowLongPtr(hWnd, GWLP_USERDATA, 0);
delete dat; // TODO: memory leak - this is never executed - fix it
}
}