aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;