{"thread":{"id":"30424","subject":"[PATCH 2/2] sequencer: release a strbuf used in save_head()","startedAt":"2012-05-04T19:40:34Z","lastAt":"2012-05-04T19:40:34Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"190790","messageId":"20120504194035.25080.21240.chriscool@tuxfamily.org","threadId":"30424","inReplyTo":null,"subject":"[PATCH 2/2] sequencer: release a strbuf used in save_head()","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2012-05-04T19:40:34Z","receivedAt":"2012-05-04T19:40:34Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"\nSigned-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n sequencer.c | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/sequencer.c b/sequencer.c\nindex aa4c1a4..af8e7db 100644\n--- a/sequencer.c\n+++ b/sequencer.c\n@@ -733,6 +733,7 @@ static void save_head(const char *head)\n \t\tdie_errno(_(\"Could not write to %s\"), head_file);\n \tif (commit_lock_file(&head_lock) < 0)\n \t\tdie(_(\"Error wrapping up %s.\"), head_file);\n+\tstrbuf_release(&buf);\n }\n \n static int reset_for_rollback(const unsigned char *sha1)\n-- \n1.7.10.579.g68891.dirty\n"}]}