tests: Remove needless goto

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Pavol Žáčik <pzacik@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2026-01-09 12:33:30 +01:00
parent 247ebb4d7f
commit 16771cc574

View File

@@ -67,7 +67,7 @@ struct arguments_st {
static void free_arguments(struct arguments_st *arguments) static void free_arguments(struct arguments_st *arguments)
{ {
if (arguments == NULL) { if (arguments == NULL) {
goto end; return;
} }
SAFE_FREE(arguments->address); SAFE_FREE(arguments->address);
@@ -87,9 +87,6 @@ static void free_arguments(struct arguments_st *arguments)
SAFE_FREE(arguments->config_file); SAFE_FREE(arguments->config_file);
SAFE_FREE(arguments->log_file); SAFE_FREE(arguments->log_file);
SAFE_FREE(arguments->pid_file); SAFE_FREE(arguments->pid_file);
end:
return;
} }
#ifdef HAVE_ARGP_H #ifdef HAVE_ARGP_H