svn commit: samba r25630 - in branches/SAMBA_4_0: . source/lib/ldb/common

simo idra at samba.org
Sun Oct 14 15:46:04 GMT 2007


On Sun, 2007-10-14 at 15:12 +0000, jelmer at samba.org wrote:
> Log:
> Allow "NULL" as memory context, for consistency with the rest of the
> code, 
> which also does.

A NULL context is dangerous because it leads quickly to memory leaks
hanged on the top context.

When building an ldb_dn we should really not allow a NULL context imo.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>



More information about the samba-technical mailing list