aboutsummaryrefslogtreecommitdiff
path: root/lib/fs.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-25 00:38:34 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-25 17:16:05 -0400
commit838c0214aa658a93981fb3dcff04c1b9d25983f7 (patch)
tree458f133a323abaad3119721042f17545406d968d /lib/fs.c
parent6f29e5d59217c06d715ac23794b48a743b2bb813 (diff)
downloadspmc-838c0214aa658a93981fb3dcff04c1b9d25983f7.tar.gz
Fix a few memory leaks:
* Cannot free array of manifests successfully though... TODO
Diffstat (limited to 'lib/fs.c')
-rw-r--r--lib/fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fs.c b/lib/fs.c
index d920248..e285916 100644
--- a/lib/fs.c
+++ b/lib/fs.c
@@ -417,6 +417,7 @@ int mkdirs(const char *_path, mode_t mode) {
}
}
split_free(parts);
+ free(path);
return result;
}