diff --git a/unix/uxmisc.c b/unix/uxmisc.c index 05d741c5..daa61a01 100644 --- a/unix/uxmisc.c +++ b/unix/uxmisc.c @@ -340,6 +340,8 @@ char *make_dir_path(const char *path, mode_t mode) sfree(prefix); return ret; } + + sfree(prefix); } if (!path[pos])