diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-31 04:20:57 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-10-31 04:20:57 +0000 |
commit | 8b2a671e834c8ded28924a0e27218127588a250d (patch) | |
tree | 8a85edad426685c61d52953093a3b504c73308fd | |
parent | c33fc11c302b8a477acb6770ee2b187d822629a5 (diff) |
memory handling bugfix for unknown contacts (patch from Bryan Aldrich - thx)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@376 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | tipper/popwin.cpp | 2 | ||||
-rw-r--r-- | tipper/version.h | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/tipper/version.h b/tipper/version.h index b20d3c5..ac9b099 100644 --- a/tipper/version.h +++ b/tipper/version.h @@ -4,7 +4,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 4
#define __RELEASE_NUM 1
-#define __BUILD_NUM 3
+#define __BUILD_NUM 4
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|