bedd2e7
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; } }