"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stress-vdso.c" between
stress-ng-0.09.52.tar.xz and stress-ng-0.09.54.tar.xz

About: stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.

stress-vdso.c  (stress-ng-0.09.52.tar.xz):stress-vdso.c  (stress-ng-0.09.54.tar.xz)
skipping to change at line 307 skipping to change at line 307
vdso_sym_t *next = vdso_sym->next; vdso_sym_t *next = vdso_sym->next;
free(vdso_sym); free(vdso_sym);
vdso_sym = next; vdso_sym = next;
} }
*list = NULL; *list = NULL;
} }
/* /*
* remove_sym * remove_sym
* find and remove a symbold from the symbol list * find and remove a symbol from the symbol list
*/ */
static void remove_sym(vdso_sym_t **list, vdso_sym_t *dup) static void remove_sym(vdso_sym_t **list, vdso_sym_t *dup)
{ {
while (*list) { while (*list) {
if (*list == dup) { if (*list == dup) {
*list = dup->next; *list = dup->next;
free(dup); free(dup);
return; return;
} }
list = &(*list)->next; list = &(*list)->next;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)