[Click] Question on uniqueify() usage
Beyers Cronje
bcronje at gmail.com
Fri Jan 29 09:56:48 EST 2010
Hi Ruben,
> I have a short question on the usage of the uniqueify() function. Here
> is what doxygen says:
>
> WritablePacket *q = p->uniqueify();
> if (!q)
> return 0;
> // p must not be used here.
>
> Ok, p must not be used anymore, but do you have to call p->kill() to free
> p?
>
No you do not have to call p->kill(), after uniqueify() you only need be
concerned about q.
Beyers
More information about the click
mailing list