On Mon, Mar 17, 2003 at 04:42:57AM +0000, [EMAIL PROTECTED] wrote: > > Date: Mon Mar 17 04:42:57 2003 > Author: abartlet > > Update of /data/cvs/samba/source/libsmb > In directory dp.samba.org:/tmp/cvs-serv3421/libsmb > > Modified Files: > trusts_util.c > Log Message: > Fix a memory leak - 'smbcontrol smbd pool-usage' is your freind!
Excuse me, but looking at source code I don't quite understand why to remove this talloc destroy ? If function doesn't return after successful string compare, then initialised talloc should be destroyed before "default" return. cheers, -- Rafal Szczesniak mimir[at]diament.ists.pwr.wroc.pl Samba Team member mimir[at]samba.org +---------------------------------------------------------+ *BSD, GNU/Linux and Samba http://www.samba.org +---------------------------------------------------------+