Re: [gnet] gnet_udp_packet_receive question



Axel Bock <news-and-lists the-me de> writes:

> Hi all, 
> 
> 
> first some nice wishes: happy new year for all of you! :-)
> 
> 
> So, and now I have a brand new new-years problem ;-)
> To be precise: I have some trouble with this one: from the APIdoc
> 
[snip]

> what exactly does this mean? *must* be deallocated *if neccessary*? ah.
> makes quite sense :-) 
> well, as far as I know is a shallow copy (in this case) a pointer to
> some static memory within the original function, and not some
> malloc()'ed memory. so this doesnt have to be freed, does it?
> 
> 
> thanks for any help and have nice remaining year,
> 
Although not answering your question, you may find valgrind[0] a
invaluable tool in finding memleaks.

Gtx, Andy

[0] http://developer.kde.org/~sewardj/
-- 
Andreas Rottmann         | Dru ICQ        | 118634484 ICQ | a rottmann gmx at
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]