diff options
Diffstat (limited to 'plugins/AVS')
-rw-r--r-- | plugins/AVS/src/options.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/AVS/src/options.cpp b/plugins/AVS/src/options.cpp index 8b1212e04d..b4907b8efa 100644 --- a/plugins/AVS/src/options.cpp +++ b/plugins/AVS/src/options.cpp @@ -903,8 +903,7 @@ static INT_PTR CALLBACK DlgProcAvatarUserInfo(HWND hwndDlg, UINT msg, WPARAM wPa break;
case WM_NCDESTROY:
- if (dat)
- free(dat);
+ free(dat);
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, 0);
break;
}
|