From: Martin Q. <mar...@lo...> - 2005-02-23 22:03:03
|
On Wed, Feb 23, 2005 at 06:04:45PM +0000, William Dowling wrote: > Update of /cvsroot/flexml/flexml > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6495 >=20 > Modified Files: > skel=20 > Log Message: > Fix memory leak reported in bug #1126171; thanks to Ulrik Petersen for pa= tch. > +static void cleanup(void) > +{ > + if (statenames) > + free(statenames); > +} I'd do a statenames =3D NULL afterward to make sure that it gets recreated = on need. But I may well be wrong... Bye, Mt. |