comparison freeDiameter/apps.c @ 447:097bae83b07a

Forgot to cleanup the configuration on exit, spotted by valgrind
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 29 Jul 2010 11:36:40 +0900
parents 0d9c9e004be0
children ae29bf971f20
comparison
equal deleted inserted replaced
446:66f58cecf3cd 447:097bae83b07a
133 133
134 /* We did not find a common app */ 134 /* We did not find a common app */
135 *common_found = 0; 135 *common_found = 0;
136 return 0; 136 return 0;
137 } 137 }
138
139 /* Remove the apps from a list */
140 int fd_app_empty(struct fd_list * list)
141 {
142 TRACE_ENTRY("%p", list);
143 CHECK_PARAMS( list );
144
145 while (!FD_IS_LIST_EMPTY(list)) {
146 struct fd_list * li = list->next;
147 fd_list_unlink(li);
148 free(li);
149 }
150
151 return 0;
152 }
"Welcome to our mercurial repository"