1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +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
#ifndef WIN32
~IeSettings()
{
if (lpszAutoConfigUrl) GlobalFree(lpszAutoConfigUrl);
if (lpszProxy) GlobalFree(lpszProxy);
if (lpszProxyBypass) GlobalFree(lpszProxyBypass);
}
#endif
};