talloc: ASAN fix for test_talloc_free_in_destructor
[samba.git] / lib / talloc / testsuite.c
index 9e340827e88e7779b24b65dffd0e2d8d4f9a46f0..c119884fd55391d90e74f60322c78776f9730609 100644 (file)
@@ -1266,6 +1266,8 @@ static bool test_talloc_free_in_destructor(void)
 
        talloc_free(level0);
 
+       talloc_free(level3); /* make ASAN happy */
+
        printf("success: free_in_destructor\n");
        return true;
 }