aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/checkpath/checkpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checkpath/checkpath.c b/src/checkpath/checkpath.c
index de5d1b4a..42864276 100644
--- a/src/checkpath/checkpath.c
+++ b/src/checkpath/checkpath.c
@@ -140,6 +140,8 @@ static int get_dirfd(char *path, bool symlinks)
item = strtok(NULL, "/");
components--;
}
+
+ free(str);
}
free(path_dupe);
free(linkpath);