svn commit: samba r11082 - in branches/SAMBA_4_0/source/winbind: .

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Oct 15 17:03:00 GMT 2005


On Sat, Oct 15, 2005 at 12:28:42PM +0200, Stefan Metzmacher wrote:
> typicaly in samba4 the _recv() function free's the request struct,
> we should maybe add that to irpc_call_recv() too,

Maybe, yes. I wondered why it did not happen inside irpc_call_recv. But as I
did not want to touch infrastructure, I worked around it. Feel free to change
it.

> btw: why does it segfault here? when you don't free the struct here?

I stepped through it with a debugger and stopped it for more than the timeout.
Then continuing fired the timeout with other structures already gone. The
talloc_free removes the timed event.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20051015/7012afe5/attachment.bin


More information about the samba-technical mailing list