[PATCH] Create talloc-less functions for formating GUID

Matthieu Patou mat at samba.org
Wed Oct 1 01:21:34 MDT 2014


On Wed, Oct 01, 2014 at 08:54:26AM +0200, Volker Lendecke wrote:
> On Tue, Sep 30, 2014 at 11:42:07PM -0700, Matthieu Patou wrote:
> > Actually I recall why I haven't changed GUID_string myself:
> > 
> > There is cases where the caller of GUID_string expect the string to be
> > talloced for instance in dns_generate_keyname in lib/addns/dnsutils.c
> 
> Hmm. I believe that's what my patch does:
> 
> return talloc_strdup(mem_ctx, GUID_buf_string(guid, &buf));
> 
> Volker

My bad I looked too quickly at your patch, although it's not a long one
:-)

Matthieu.


More information about the samba-technical mailing list