summaryrefslogblamecommitdiffstats
path: root/free_ldappal.c
blob: 69548edd7be09684a26c02e870056febcc5ce2ad (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










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

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