]> git.sur5r.net Git - openldap/commitdiff
coverity scan, e is non-NULL
authorHoward Chu <hyc@openldap.org>
Tue, 8 May 2007 14:17:21 +0000 (14:17 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 8 May 2007 14:17:21 +0000 (14:17 +0000)
servers/slapd/back-monitor/init.c

index 594a42974a4d5249214f8d621ffd30942dcd22e6..6a52708af70653ea9f8d0a6c6a081de52b0d1e96 100644 (file)
@@ -1496,9 +1496,7 @@ monitor_back_unregister_entry_attrs(
                        ber_memfree( ndn.bv_val );
                }
 
-               if ( e ) {
-                       monitor_cache_release( mi, e );
-               }
+               monitor_cache_release( mi, e );
 
        } else {
                entry_limbo_t   **elpp;