diff options
Diffstat (limited to 'source3/modules/perfcount_test.c')
-rw-r--r-- | source3/modules/perfcount_test.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/perfcount_test.c b/source3/modules/perfcount_test.c index b72ac9f7b5..f9ea817127 100644 --- a/source3/modules/perfcount_test.c +++ b/source3/modules/perfcount_test.c @@ -179,8 +179,7 @@ static void perfcount_test_dump_counters(void) for (i=0; i < 256; i++) { for (head = g_list[i]; head != NULL; head = head->next) { perfcount_test_dump_counter(head, 0); - head->prev = NULL; - SAFE_FREE(head->prev); + SAFE_FREE(DLIST_PREV(head)); } SAFE_FREE(head); } |