Skip to content

Commit

Permalink
jobs/drv_to_pname: always clean up regex
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Aug 27, 2024
1 parent 5971b69 commit d3d6706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static int drv_to_pname(char *drv_path, char **pname)
if (ret_pname == NULL) {
print_err("%s", strerror(errno));
ret = -errno;
goto out_close_drv_file;
goto out_free_regex;
}
*pname = ret_pname;

Expand Down

0 comments on commit d3d6706

Please sign in to comment.