Re: [Plplot-devel] qt_example memory management issues

2018-12-31 Thread Alan W. Irwin
On 2018-12-31 11:28-0800 Alan W. Irwin wrote: [...] by the following temporary changes to qt_example: argc = 1; QApplication a( argc, argv ); // Must construct an instance of PlotWindow after QApplication. PlotWindow * win = new PlotWindow( Argc, Argv ); // Clean up Argv now

[Plplot-devel] qt_example memory management issues

2018-12-31 Thread Alan W. Irwin
On 2018-12-31 16:05- António Rodrigues Tomé wrote: Hi Alan let's do a small change in qt_example. cpp to make it more orthodox. QApplication a( argc, argv ); PlotWindow win ( Argc, Argv ); win.show(); when I do this the program always crashes on close in my system. much likely

Re: [Plplot-devel] Testing of latest qt pushes requested

2018-12-31 Thread António Rodrigues Tomé
Hi Alan let's do a small change in qt_example. cpp to make it more orthodox. QApplication a( argc, argv ); PlotWindow win ( Argc, Argv ); win.show(); when I do this the program always crashes on close in my system. much likely because there is an attempt to free twice a memory