You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Defer the initialization of the `op` variable to the `default` switch case to avoid a compiler warning.
- Use a `default` switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning.
- Migrate from librsvg's deprecated `rsvg_handle_get_dimensions()` and `rsvg_handle_render_cairo()` functions to the new `rsvg_handle_get_intrinsic_size_in_pixels()` and `rsvg_handle_render_document()` respectively.
- Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch.
- Remove unused private field `backend` in the `Backend` class.
- Fix a case of use-after-free.
- Fix usage of garbage value by filling the allocated memory entirely with zeros if it's not modified.
- Fix a potential memory leak.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,16 @@ project adheres to [Semantic Versioning](http://semver.org/).
8
8
(Unreleased)
9
9
==================
10
10
### Changed
11
+
* Defer the initialization of the `op` variable to the `default` switch case to avoid a compiler warning. (#2229)
12
+
* Use a `default` switch case with a null statement if some enum values aren't suppsed to be handled, this avoids a compiler warning. (#2229)
13
+
* Migrate from librsvg's deprecated `rsvg_handle_get_dimensions()` and `rsvg_handle_render_cairo()` functions to the new `rsvg_handle_get_intrinsic_size_in_pixels()` and `rsvg_handle_render_document()` respectively. (#2229)
14
+
* Avoid calling virtual methods in constructors/destructors to avoid bypassing virtual dispatch. (#2229)
15
+
* Remove unused private field `backend` in the `Backend` class. (#2229)
11
16
### Added
12
17
### Fixed
18
+
* Fix a case of use-after-free. (#2229)
19
+
* Fix usage of garbage value by filling the allocated memory entirely with zeros if it's not modified. (#2229)
0 commit comments