aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-08-27 16:19:57 +0530
committersinanmohd <sinan@sinanmohd.com>2024-08-27 16:19:57 +0530
commitd3d67064a1ab6a2ee8faa5d3673c2ada4ba8cd18 (patch)
tree4fb56b7155c51a5a9f3e4647a5ad0d569b4d1a28 /src
parent5971b69dd93b62d8e52f7a9b2b6abb1f124417e8 (diff)
jobs/drv_to_pname: always clean up regex
Diffstat (limited to 'src')
-rw-r--r--src/jobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jobs.c b/src/jobs.c
index 5c5be38..458635b 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -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;