| Index: crypto/scoped_nss_types.h
|
| diff --git a/crypto/scoped_nss_types.h b/crypto/scoped_nss_types.h
|
| index d5aebc5dd205c97cd55d253b3dbc95f45d65af6a..8e96e8d4e20ffedb34a529e62ec7e92451bd8c5d 100644
|
| --- a/crypto/scoped_nss_types.h
|
| +++ b/crypto/scoped_nss_types.h
|
| @@ -17,16 +17,14 @@ namespace crypto {
|
| template <typename Type, void (*Destroyer)(Type*)>
|
| struct NSSDestroyer {
|
| void operator()(Type* ptr) const {
|
| - if (ptr)
|
| - Destroyer(ptr);
|
| + Destroyer(ptr);
|
| }
|
| };
|
|
|
| template <typename Type, void (*Destroyer)(Type*, PRBool), PRBool freeit>
|
| struct NSSDestroyer1 {
|
| void operator()(Type* ptr) const {
|
| - if (ptr)
|
| - Destroyer(ptr, freeit);
|
| + Destroyer(ptr, freeit);
|
| }
|
| };
|
|
|
|
|