{"thread":{"id":"19987","subject":"[PATCH] attr: plug minor memory leak","startedAt":"2009-06-30T22:30:00Z","lastAt":"2009-06-30T22:30:00Z","messageCount":1,"participants":["René Scharfe"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"117269","messageId":"4A4A91E8.6060604@lsrfire.ath.cx","threadId":"19987","inReplyTo":null,"subject":"[PATCH] attr: plug minor memory leak","fromName":"René Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2009-06-30T22:30:00Z","receivedAt":"2009-06-30T22:30:00Z","isPatch":true,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Free the memory allocated for struct strbuf pathbuf when we're done.\n\nSigned-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>\n---\n attr.c |    2 ++\n 1 files changed, 2 insertions(+), 0 deletions(-)\n\ndiff --git a/attr.c b/attr.c\nindex f8f6faa..55bdb7c 100644\n--- a/attr.c\n+++ b/attr.c\n@@ -555,6 +555,8 @@ static void prepare_attr_stack(const char *path, int dirlen)\n \t\t}\n \t}\n \n+\tstrbuf_release(&pathbuf);\n+\n \t/*\n \t * Finally push the \"info\" one at the top of the stack.\n \t */\n-- \n1.6.3.3\n"}]}