Thread (61 messages) flat view 61 messages, 4 authors, 2016-06-15

Re: [PATCH 10/21] Free mktag's buffer before dying

From: Alex Riesen <hidden>
Date: 2016-06-15 22:43:15

On 6/9/07, Johan Herland [off-list ref] wrote:
+       if (parse_and_verify_tag_buffer(0, buffer, size, 1)) {
+               free(buffer);
+               die("invalid tag data file");
This, and the similar one below are useless. You're destroying the
process, what do you free that buffer for? Either handle the error
case or do not needlessly complicate your change, which really
also absolutely unneeded.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help