mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
Add ldap_memfree() to the mix.
This commit is contained in:
parent
e795f9168d
commit
32d9cc239c
1 changed files with 11 additions and 0 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue