| Index: chrome/utility/importer/ie_importer_win.cc
|
| diff --git a/chrome/utility/importer/ie_importer_win.cc b/chrome/utility/importer/ie_importer_win.cc
|
| index 567762bc4211d18544719236dbd78a8b01304e1e..047fb1eb31ccc9778a3980451315939b1f7eb26d 100644
|
| --- a/chrome/utility/importer/ie_importer_win.cc
|
| +++ b/chrome/utility/importer/ie_importer_win.cc
|
| @@ -602,7 +602,7 @@ void IEImporter::ImportPasswordsIE6() {
|
| result = pstore->EnumItems(0, &AutocompleteGUID,
|
| &AutocompleteGUID, 0, item.Receive());
|
| if (result != PST_E_OK) {
|
| - pstore.Release();
|
| + pstore.Reset();
|
| FreeLibrary(pstorec_dll);
|
| return;
|
| }
|
| @@ -636,8 +636,8 @@ void IEImporter::ImportPasswordsIE6() {
|
| CoTaskMemFree(item_name);
|
| }
|
| // Releases them before unload the dll.
|
| - item.Release();
|
| - pstore.Release();
|
| + item.Reset();
|
| + pstore.Reset();
|
| FreeLibrary(pstorec_dll);
|
|
|
| size_t i;
|
|
|