{"thread":{"id":"20523","subject":"[PATCH 1/3] http.c: free preq when aborting","startedAt":"2009-08-10T15:51:24Z","lastAt":"2009-08-10T15:51:24Z","messageCount":1,"participants":["Tay Ray Chuan"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"120176","messageId":"20090810235124.e978869f.rctay89@gmail.com","threadId":"20523","inReplyTo":null,"subject":"[PATCH 1/3] http.c: free preq when aborting","fromName":"Tay Ray Chuan","fromEmail":"rctay89@gmail.com","sentAt":"2009-08-10T15:51:24Z","receivedAt":"2009-08-10T15:51:24Z","isPatch":true,"sender":{"key":"rctay89@gmail.com","avatar":"https://avatars.githubusercontent.com/u/61553?v=4"},"body":"Free preq in new_http_pack_request when aborting. preq was allocated\nbefore jumping to the 'abort' label so this is safe.\n\nSigned-off-by: Tay Ray Chuan <rctay89@gmail.com>\n---\n http.c |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/http.c b/http.c\nindex a2720d5..cfe32f5 100644\n--- a/http.c\n+++ b/http.c\n@@ -1059,6 +1059,7 @@ struct http_pack_request *new_http_pack_request(\n\n abort:\n \tfree(filename);\n+\tfree(preq);\n \treturn NULL;\n }\n\n--\n1.6.3.1\n"}]}