RE: [NeoStats-Devel] [Commits] r2711 - in trunk: . lib/event modules/quoteserv src tools
"Justin Hammond" <justin-kLev/[email protected]> Sun, 14 Aug 2005 15:44:24 +0800
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
From what I saw when doing the memory checks with valgrind, the services set list was deleted when the NeoStats Bot was deleted, and this was generating a few "access to un-initiziled memory" errors. > -----Original Message----- > From: M [mailto:[email protected]] > Sent: Saturday, August 13, 2005 8:48 PM > To: [email protected] > Subject: RE: [NeoStats-Devel] [Commits] r2711 - in trunk: . > lib/event modules/quoteserv src tools > > > > From: [email protected] [mailto:[email protected]] > > Author: Fish > > Modified: trunk/src/services.c > > ============================================================== > > ================ > > --- trunk/src/services.c (original) > > +++ trunk/src/services.c Sat Aug 13 17:29:26 2005 > > @@ -200,7 +200,7 @@ > > */ > > void FiniServices( void ) > > { > > - del_services_set_list (ns_debugsettings); > > + free(GET_CUR_MODULE()->event_list); > > Why has del_services_set_list (ns_debugsettings); been removed? > Removing it will result in memory left allocated for the hash > associated > with these SET options. > > Mark. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: devel-unsubscribe-wool9L35kifE9wlyV4mCnKxOck334EZe@public.gmane.org > For additional commands, e-mail: [email protected] > >