diff options
Diffstat (limited to 'win/rfb_win32/Win32Util.cxx')
-rw-r--r-- | win/rfb_win32/Win32Util.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/rfb_win32/Win32Util.cxx b/win/rfb_win32/Win32Util.cxx index ad301574..e806b1db 100644 --- a/win/rfb_win32/Win32Util.cxx +++ b/win/rfb_win32/Win32Util.cxx @@ -28,6 +28,7 @@ #include <rfb_win32/Handle.h> #include <rdr/HexOutStream.h> #include <rdr/Exception.h> +#include <rfb/util.h> #include <stdio.h> namespace rfb { @@ -60,6 +61,10 @@ FileVersionInfo::FileVersionInfo(const char* filename) { throw rdr::SystemException("GetVersionInfo failed", GetLastError()); } +FileVersionInfo::~FileVersionInfo() { + delete [] buf; +} + const char* FileVersionInfo::getVerString(const char* name, DWORD langId) { uint8_t langIdBuf[sizeof(langId)]; for (int i=sizeof(langIdBuf)-1; i>=0; i--) { |