Skip to content

Commit

Permalink
status: fix double free
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
  • Loading branch information
eriksjolund committed Dec 15, 2023
1 parent c0d6c4b commit c5643c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libcrun/status.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,6 @@ libcrun_get_containers_list (libcrun_container_list_t **ret, const char *state_r
exists = crun_path_exists (status_file, err);
if (exists < 0)
{
libcrun_free_containers_list (tmp);
return exists;
}

Expand Down

0 comments on commit c5643c4

Please sign in to comment.