Index: net/cert/x509_cert_types_win.cc |
diff --git a/net/cert/x509_cert_types_win.cc b/net/cert/x509_cert_types_win.cc |
index 8d9a25a67421e47060525cd0fc5edd3128997381..570f5fc80133d6e92be42aa50f78093aa1a15ab9 100644 |
--- a/net/cert/x509_cert_types_win.cc |
+++ b/net/cert/x509_cert_types_win.cc |
@@ -105,7 +105,7 @@ bool CertPrincipal::ParseDistinguishedName(const void* ber_name_data, |
&name_info, &name_info_size); |
if (!rv) |
return false; |
- scoped_ptr_malloc<CERT_NAME_INFO> scoped_name_info(name_info); |
+ scoped_ptr<CERT_NAME_INFO, base::FreeDeleter> scoped_name_info(name_info); |
std::vector<std::string> common_names, locality_names, state_names, |
country_names; |