Win32, loading Label text from drawings: Avoid leak

Avoid leaking memory when loading Label text strings from a saved drawing.

Also, a heck of a lot of comments to explain (as best I understand)
what load_info_about_label_surface() is doing.
This commit is contained in:
Bill Kendrick 2022-02-11 01:18:51 -08:00
parent 907c739679
commit 851f5ffbb7
2 changed files with 59 additions and 38 deletions

View file

@ -7,7 +7,7 @@ Various contributors (see below, and AUTHORS.txt)
http://www.tuxpaint.org/
2022.February.9 (0.9.28)
2022.February.11 (0.9.28)
* Improvements to "Paint" and "Lines" tools:
------------------------------------------
* Brush spacing may now be altered within Tux Paint.
@ -156,6 +156,10 @@ http://www.tuxpaint.org/
with a input method map (*.im).
Mark Kim <markuskimius@gmail.com>
* Avoid leaking memory when loading Label text strings from a
saved drawing. (Affected Windows only.)
Bill Kendrick <bill@newbreedsoftware.com>
* Ports & Building:
-----------------
* Windows