{"thread":{"id":"8284","subject":"[PATCH] fast-import: Fix uninitialized variable","startedAt":"2007-05-23T21:00:22Z","lastAt":"2007-05-23T21:00:22Z","messageCount":1,"participants":["Simon Hausmann"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"43050","messageId":"200705232300.22278.simon@lst.de","threadId":"8284","inReplyTo":null,"subject":"[PATCH] fast-import: Fix uninitialized variable","fromName":"Simon Hausmann","fromEmail":"simon@lst.de","sentAt":"2007-05-23T21:00:22Z","receivedAt":"2007-05-23T21:00:22Z","isPatch":true,"sender":{"key":"hausmann@kde.org","avatar":"https://gravatar.com/avatar/bc9aad4fb31dce17eb66e690e7b51fe980c62da3c225c785da35dd806b8da778?d=mp&s=160"},"body":"Fix uninitialized last_object->no_free variable that is accessed in \nstore_object.\n\nSigned-off-by: Simon Hausmann <simon@lst.de>\n---\n fast-import.c |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/fast-import.c b/fast-import.c\nindex ffa00fd..0ddf8fe 100644\n--- a/fast-import.c\n+++ b/fast-import.c\n@@ -1122,6 +1122,7 @@ static void store_tree(struct tree_entry *root)\n \t\t|| le->pack_id != pack_id) {\n \t\tlo.data = NULL;\n \t\tlo.depth = 0;\n+\t\tlo.no_free = 0;\n \t} else {\n \t\tmktree(t, 0, &lo.len, &old_tree);\n \t\tlo.data = old_tree.buffer;\n-- \n1.5.2.24.g93d4\n"}]}