started ldapsearchresultentry formatter fixed scan_ldapmessage to accept PRIMITIVE messages, too (unbind)
11 lines
184 B
C
11 lines
184 B
C
#include <stdlib.h>
|
|
#include "ldap.h"
|
|
|
|
void freeava(struct AttributeDescriptionList* a) {
|
|
while (a) {
|
|
struct AttributeDescriptionList* tmp=a->next;
|
|
free(a);
|
|
a=tmp;
|
|
}
|
|
}
|