Berthold Stoeger 25b30da244 Profile: properly initialize plot_info structures
The create_plot_info_new() function releases old plot data. This
can only work if the plot_info structure was initialized previously.
The ProfileWidget2 did that by a memset, but other parts of the code
did not.

Therefore, introduce a init_plot_info() function and call that when
generating a plot_info struct. Constructors would make this so much
easier - but since this is called from C, we can't use them.

Fixes #2251

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-08-28 07:10:09 -07:00
..
2019-08-08 08:56:44 -07:00
2019-08-08 16:26:31 -07:00
2019-08-08 16:26:31 -07:00
2017-04-29 13:32:55 -07:00
2018-10-21 19:55:09 +03:00
2019-08-11 08:20:38 +02:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-07-18 06:01:07 -07:00
2019-05-29 15:04:33 +03:00
2019-08-19 12:28:20 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2019-07-18 06:01:07 -07:00
2017-04-29 13:32:55 -07:00