mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
don't risk a leak. precompify header
svn path=/trunk/; revision=26600
This commit is contained in:
parent
66e137da1f
commit
639abb18c5
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "timedate.h"
|
#include <timedate.h>
|
||||||
|
|
||||||
#define TIMEOUT 4000 /* 4 second timeout */
|
#define TIMEOUT 4000 /* 4 second timeout */
|
||||||
|
|
||||||
|
@ -171,11 +171,13 @@ GetServerTime(LPWSTR lpAddress)
|
||||||
|
|
||||||
DestroyConnection();
|
DestroyConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
HeapFree(GetProcessHeap(), 0, pInfo);
|
|
||||||
HeapFree(GetProcessHeap(), 0, lpAddr);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pInfo)
|
||||||
|
HeapFree(GetProcessHeap(), 0, pInfo);
|
||||||
|
if (lpAddr)
|
||||||
|
HeapFree(GetProcessHeap(), 0, lpAddr);
|
||||||
|
|
||||||
return ulTime;
|
return ulTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue