mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
don't risk a leak. precompify header
svn path=/trunk/; revision=26600
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user