From 01f862dc9540a3857c4d13e20e0888c178349c7c Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 3 Oct 2000 19:21:46 +0000 Subject: [PATCH] ITS#800: remove ldap_msgfree(NULL) abort --- CHANGES | 1 + libraries/libldap/result.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 52a05256be..10aa0b381b 100644 --- a/CHANGES +++ b/CHANGES @@ -9,6 +9,7 @@ OpenLDAP 2.0.X Engineering Fixed -lldap SASL ctx close bug (ITS#790) Fixed -lldap first/next attribute bug (ITS#778) Fixed -lldap (v2) rebind URL bug + Fixed -lldap msgfree NULL bug (ITS#800) Fixed -llber stringal len=0 bug Updated -llber bprint routine Build Environment diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index f3370cdb2c..814b471e33 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -820,8 +820,6 @@ ldap_msgfree( LDAPMessage *lm ) LDAPMessage *next; int type = 0; - assert( lm != NULL ); - Debug( LDAP_DEBUG_TRACE, "ldap_msgfree\n", 0, 0, 0 ); for ( ; lm != NULL; lm = next ) { -- 2.39.5