diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-08-27 16:19:57 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-08-27 16:19:57 +0530 |
commit | d3d67064a1ab6a2ee8faa5d3673c2ada4ba8cd18 (patch) | |
tree | 4fb56b7155c51a5a9f3e4647a5ad0d569b4d1a28 | |
parent | 5971b69dd93b62d8e52f7a9b2b6abb1f124417e8 (diff) |
jobs/drv_to_pname: always clean up regex
-rw-r--r-- | src/jobs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |