diff options
Diffstat (limited to 'chrome_frame/utils.cc')
-rw-r--r-- | chrome_frame/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/utils.cc b/chrome_frame/utils.cc index 246fa0d..fdcb7c7 100644 --- a/chrome_frame/utils.cc +++ b/chrome_frame/utils.cc @@ -361,7 +361,7 @@ bool GetModuleVersion(HMODULE module, uint32* high, uint32* low) { if (readonly_resource_data && version_resource_size) { // Copy data as VerQueryValue tries to modify the data. This causes // exceptions and heap corruption errors if debugger is attached. - scoped_ptr<char> data(new char[version_resource_size]); + scoped_array<char> data(new char[version_resource_size]); memcpy(data.get(), readonly_resource_data, version_resource_size); if (data.get()) { VS_FIXEDFILEINFO* ver_info = NULL; |