[SSSD] [PATCH] COLLECTION Copy collection flat with concatenated names

Dmitri Pal dpal at redhat.com
Tue Sep 8 13:25:43 UTC 2009


>
> > I am unclear about couple things here:
> > a) Is my solution acceptable for the given situation?
> > b) If not what is the preferred solution?
> > c) What is different about the given typecast and why this typecast
> > suppresses
> > warning (if it does) while others do not?
>
> > Please advise.
>
> I think you misunderstood what I was saying. I think you did it the
> right way, Dmitri. (provided of course that you free that memory
> responsibly when you no longer need it)

This is exactly where I get confused.
I free memory I allocated and I do not free memory I did not.
The pointer in question can point to the external memory
passed in that I do not control on this level or to the allocated
memory that I free at some point. This is why I kind of
confused...





More information about the sssd-devel mailing list