Page 1 of 1
iptostring memleaks
Posted: 22 Dec 2004, 16:10
by Guest
just had a glance at the .7e code and just thought I would report that basicly on everysingle use of iptostring() you're leaking memory...
Posted: 23 Dec 2004, 01:08
by nym
ElvenProgrammer: you may want to replace iptostring by inet_ntoa, as it is standard and contains no memory leaks (the ASCII ip addr is in static char* in inet_ntoa). Or you could fix up iptostring
ty Guest

Posted: 23 Dec 2004, 08:04
by ElvenProgrammer
Oh yes sure inet_ntoa() I'll do it
Eheh I know the net engine is far from perfect, It was my second try with network functions. Anyway I have in mind some other optimizations.