diff options
Diffstat (limited to 'protocols/JabberG/src/jabber.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index ef3b25aac1..a309320cb7 100644 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -38,6 +38,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. HINSTANCE hInst;
int hLangpack;
+unsigned int g_nTempFileId;
int g_cbCountries;
CountryListEntry *g_countries;
@@ -233,6 +234,15 @@ extern "C" int __declspec(dllexport) Unload(void) DestroyHookableEvent(hExtListInit);
DestroyHookableEvent(hDiscoInfoResult);
+ if (g_nTempFileId != 0) {
+ TCHAR tszTempPath[MAX_PATH], tszTempFile[MAX_PATH];
+ GetTempPath(_countof(tszTempPath), tszTempPath);
+ for (unsigned i = 1; i <= g_nTempFileId; i++) {
+ GetTempFileName(tszTempPath, _T("jab"), i, tszTempFile);
+ DeleteFile(tszTempFile);
+ }
+ }
+
g_MenuUninit();
return 0;
}
|