attr: plug minor memory leak
PATCH 1/1 attr: plug minor memory leak
Free the memory allocated for struct strbuf pathbuf when we're done.
Signed-off-by Rene Scharfe <[email protected]>
--- attr.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
attr.c +2 -0
@@ -555,6 +555,8 @@ static void prepare_attr_stack(const char *path, int dirlen) } } +strbuf_release (&pathbuf); +/* * Finally push the "info" one at the top of the stack. */
Signature · 1 line
1.6.3.3