[Samba] Memory leak in winbindd

Jeremy Allison jra at samba.org
Thu Mar 14 10:44:27 GMT 2002


On Thu, Mar 14, 2002 at 10:45:41AM -0500, MCCALL,DON (HP-USA,ex1) wrote:

> [2002/03/13 17:21:38, 0] lib/util_unistr.c:(582)
>   load_unicode_map: filename
> /usr/local/samba/lib/codepages/unicode_map.ISO8859-
> 1 does not exist.
> [2002/03/13 17:21:38, 1] nsswitch/winbindd_util.c:(137)
>   getting trusted domain list
> [2002/03/13 17:21:39, 1] nsswitch/winbindd_util.c:(103)
>   adding domain WT1
> [2002/03/13 17:21:39, 1] nsswitch/winbindd_util.c:(103)
>   adding domain ATL-WTEC
> [2002/03/13 21:59:32, 0] lib/util.c:(1064)
>   PANIC: init_unistr2: malloc fail

Ok, sorry for being so grumpy - it was fairly obvious
where the problem lies - this looks like a memory
leak due to the main_loop_talloc not being freed in
winbindd.

I've just committed a fix for this - this should fix
the winbindd memory leak problem people have reported.

Sorry for complaining about the bug report - it did allow
me to find it :-).

Thanks (sheepishly),

	Jeremy.




More information about the samba mailing list