started ldapsearchresultentry formatter fixed scan_ldapmessage to accept PRIMITIVE messages, too (unbind)
12 lines
194 B
C
12 lines
194 B
C
#include "ldap.h"
|
|
#include <stdlib.h>
|
|
|
|
void freefilter(struct Filter* f) {
|
|
if (f) {
|
|
freeava(f->a);
|
|
if (f->x) freefilter(f->x);
|
|
if (f->next) freefilter(f->next);
|
|
free(f);
|
|
}
|
|
}
|