diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-20 17:38:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-20 17:38:06 +0000 |
commit | 6183362250af373372830fbd5d4d952b0038bbfc (patch) | |
tree | 986e7c937720b5d93e00dcc2e7ee3b2f47a7286d /plugins/AVS/src | |
parent | 7e4a5794928702bf435f3d7be339a6c553fe618a (diff) |
more warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@6558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/src')
-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;
}
|