{"thread":{"id":"28628","subject":"[PATCH 0/3] jp/get-ref-dir-unsorted fixups","startedAt":"2011-10-08T03:20:19Z","lastAt":"2011-10-08T03:20:19Z","messageCount":1,"participants":["Brandon Casey"],"isPatch":true,"patchVersion":1,"patchTotal":3},"messages":[{"id":"177210","messageId":"5WORKOGzj9pUA6-WazYHWoC73c8I1v5CksR-XJ592FHo27VoGczYpfodVAo5IkHADGEX_Z99bE2ZW-oMcjJ4UGTn2ajXlQjUPh1nRi12BF_tCkwU1qQ6JRoANGVSBwr8n-Q7tv0O4rA@cipher.nrlssc.navy.mil","threadId":"28628","inReplyTo":null,"subject":"[PATCH 0/3] jp/get-ref-dir-unsorted fixups","fromName":"Brandon Casey","fromEmail":"casey@nrlssc.navy.mil","sentAt":"2011-10-08T03:20:19Z","receivedAt":"2011-10-08T03:20:19Z","isPatch":true,"sender":{"key":"drafnel@gmail.com","avatar":"https://avatars.githubusercontent.com/u/921167?v=4"},"body":"Here are a few fixups I found while investigating a segfault on IRIX.\n\nThe first patch fixes a potential segfault due to an uninitialized\nvariable, but it has already been made moot by Michael Haggerty's\nupdates to refs.c that are merged in next.  So, not sure if it's worth\napplying or not.\n\nThe second one fixes the segfault on IRIX and is a valid thing to do\nanyway.\n\nThe third one plugs a little memory leak that may never occur.\n\nBuilt on top of jp/get-ref-dir-unsorted e9c4c111.\n\n-Brandon\n\nBrandon Casey (3):\n  refs.c: ensure struct whose member may be passed to realloc is\n    initialized\n  refs.c: abort ref search if ref array is empty\n  refs.c: free duplicate entries in the ref array instead of leaking\n    them\n\n refs.c |    5 +++++\n 1 files changed, 5 insertions(+), 0 deletions(-)\n\n-- \n1.7.7\n"}]}