1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

Fix crash in liblastfm2 on windows.

This commit is contained in:
Dominik Schmidt
2011-05-24 13:04:15 +02:00
parent 8ca392464e
commit e2698fecce

View File

@@ -36,10 +36,12 @@ struct IeSettings : WINHTTP_CURRENT_USER_IE_PROXY_CONFIG
} }
#endif #endif
#ifndef WIN32
~IeSettings() ~IeSettings()
{ {
if (lpszAutoConfigUrl) GlobalFree(lpszAutoConfigUrl); if (lpszAutoConfigUrl) GlobalFree(lpszAutoConfigUrl);
if (lpszProxy) GlobalFree(lpszProxy); if (lpszProxy) GlobalFree(lpszProxy);
if (lpszProxyBypass) GlobalFree(lpszProxyBypass); if (lpszProxyBypass) GlobalFree(lpszProxyBypass);
} }
#endif
}; };