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









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

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