is there talloc if malloc

simo idra at samba.org
Thu Jul 19 12:11:49 MDT 2012


On Thu, 2012-07-19 at 23:21 +0530, akib sayyed wrote: 
> is it possible to use talloc if i make available malloc on my arm??

Yes, talloc is just a wrapper on top of malloc, free and realloc.

You could also implement only realloc(), where passing 0 as the size
really mean free() and then you can change talloc to only ever use the 1
realloc() function.

Simo.

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



More information about the samba-technical mailing list