mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
autofs: partial is also leaked.
partial is also always leaked (since we reallocate it each time through the loop). It should be freed before we return as well. Noticed by: kib Sponsored by: Netflix
This commit is contained in:
parent
e69573bc2b
commit
d831bd8878
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ create_directory(const char *path)
|
|||
}
|
||||
}
|
||||
|
||||
free(partial);
|
||||
free(tofree);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue