summaryrefslogblamecommitdiffstats
path: root/free_ldapadl.c
blob: c8338a3262a25023d48e892cf5bf699dc1c888a4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                       
#include <stdlib.h>
#include "ldap.h"

void free_ldapadl(struct AttributeDescriptionList* a) {
  while (a) {
    struct AttributeDescriptionList* tmp=a->next;
    free(a); a=tmp;
  }
}