From: Kurt Zeilenga Date: Tue, 22 Dec 1998 18:42:02 +0000 (+0000) Subject: Add ldap_memfree() to the mix. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~888 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32d9cc239c8eb036ad3d51d8a56518e23367d5be;p=openldap Add ldap_memfree() to the mix. --- diff --git a/libraries/libldap/free.c b/libraries/libldap/free.c index ebf2d623c5..666e2d6842 100644 --- a/libraries/libldap/free.c +++ b/libraries/libldap/free.c @@ -21,6 +21,17 @@ static char copyright[] = "@(#) Copyright (c) 1994 The Regents of the University #include "ldap-int.h" +/* + * C-API deallocator + */ +void +ldap_memfree( void *p ) +{ + if(p != NULL) { + free( p ); + } +} + void ldap_getfilter_free( LDAPFiltDesc *lfdp ) {