diff --git a/usr.sbin/autofs/common.c b/usr.sbin/autofs/common.c index 6b98214162a..2dd7c290ceb 100644 --- a/usr.sbin/autofs/common.c +++ b/usr.sbin/autofs/common.c @@ -153,6 +153,7 @@ create_directory(const char *path) } } + free(partial); free(tofree); }