Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] transport-helper: remove duplicate free()

From: Daniel Barkalow <hidden>
Date: 2016-06-15 22:47:49

On Wed, 2 Dec 2009, Tay Ray Chuan wrote:
Remove the free() invocation on transport->data in release_helper(), as
disconnect_helper() has already done so.
You need to remove the one in disconnect_helper, because the entire point 
of disconnect_helper as opposed to release_helper is to *not* free that 
memory. If you remove this one, you'll access freed memory in any case 
where the helper has to be quit and restarted.

	-Daniel
*This .sig left intentionally blank*
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help