From: Matt K. <ra...@ch...> - 2004-03-26 17:40:40
|
> > diff -r1.6 jazz.cpp > > 101c101,102 > > < delete StrValue; > > --- > > > > > if (StrValue) > > > delete [] StrValue; > > > > 274c275,276 > > < delete [] Names[i]; > > --- > > > > > if (Names[i]) > > > delete Names[i]; > > What type is Names? wxWidgets is supposed to clean itself up, and if tConfig > is deleting wxWidgets stuff that the library is cleaning up itself, then > that's what the problem is. > > In any case, it looks like tConfig was written before there was wxConfig, > because it duplicates all of the function of wxConfig. Anybody willing to > take a crack at rewriting tConfig to use wxConfig instead? It's sorta on the > list of things to do.... ;) Names is a home-brewed class, not connected to anything wx. So, I don't think this is causing the core dump. Besides, I tried commenting out the deletion of Names, and it still dumps core. Matt |