don't risk a leak. precompify header

svn path=/trunk/; revision=26600
This commit is contained in:
Ged Murphy 2007-04-30 22:25:26 +00:00
parent 66e137da1f
commit 639abb18c5

View file

@ -7,7 +7,7 @@
*
*/
#include "timedate.h"
#include <timedate.h>
#define TIMEOUT 4000 /* 4 second timeout */
@ -171,11 +171,13 @@ GetServerTime(LPWSTR lpAddress)
DestroyConnection();
}
HeapFree(GetProcessHeap(), 0, pInfo);
HeapFree(GetProcessHeap(), 0, lpAddr);
}
if (pInfo)
HeapFree(GetProcessHeap(), 0, pInfo);
if (lpAddr)
HeapFree(GetProcessHeap(), 0, lpAddr);
return ulTime;
}