diff --git a/libraries/libldap/filter.c b/libraries/libldap/filter.c index 8c0531cd9a..96abc9c121 100644 --- a/libraries/libldap/filter.c +++ b/libraries/libldap/filter.c @@ -475,7 +475,7 @@ ldap_int_put_filter( BerElement *ber, const char *str_in ) rc = parens ? -1 : 0; done: - free( freeme ); + LDAP_FREE( freeme ); return rc; }