CID 1456199: Resource leak in test_hs_control_store_permanent_creds()
``` ** CID 1456199: Resource leaks (RESOURCE_LEAK) /src/test/test_hs_control.c: 534 in test_hs_control_store_permanent_creds() ________________________________________________________________________________________________________ *** CID 1456199: Resource leaks (RESOURCE_LEAK) /src/test/test_hs_control.c: 534 in test_hs_control_store_permanent_creds() 528 529 #ifdef _WIN32 530 ret = mkdir(perm_creds_dir); 531 #else 532 ret = mkdir(perm_creds_dir, 0700); 533 #endif >>> CID 1456199: Resource leaks (RESOURCE_LEAK) >>> Variable "perm_creds_dir" going out of scope leaks the storage it points to. 534 tt_int_op(ret, OP_EQ, 0); 535 536 get_options_mutable()->ClientOnionAuthDir = perm_creds_dir; 537 } 538 539 tor_free(args); ```
issue