diff options
Diffstat (limited to 'tipper/popwin.cpp')
-rw-r--r-- | tipper/popwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tipper/popwin.cpp b/tipper/popwin.cpp index 4912c96..a2964c5 100644 --- a/tipper/popwin.cpp +++ b/tipper/popwin.cpp @@ -575,7 +575,7 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa free(pwd->rows[i].swzLabel); free(pwd->rows[i].swzValue); } - free(pwd->rows); + if(pwd->rows) free(pwd->rows); if(pwd->hBm) DeleteObject(pwd->hBm); free(pwd); pwd = 0; |