mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Don't assert on null
This commit is contained in:
parent
1ab5360fee
commit
005a2f7aec
@ -820,8 +820,6 @@ ldap_msgfree( LDAPMessage *lm )
|
|||||||
LDAPMessage *next;
|
LDAPMessage *next;
|
||||||
int type = 0;
|
int type = 0;
|
||||||
|
|
||||||
assert( lm != NULL );
|
|
||||||
|
|
||||||
Debug( LDAP_DEBUG_TRACE, "ldap_msgfree\n", 0, 0, 0 );
|
Debug( LDAP_DEBUG_TRACE, "ldap_msgfree\n", 0, 0, 0 );
|
||||||
|
|
||||||
for ( ; lm != NULL; lm = next ) {
|
for ( ; lm != NULL; lm = next ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user