glib/gobject
Philip Withnall cd657d692d gobject: Sink floating pspecs if adding them to a class fails
This may fix Coverity assuming that pspecs are leaked, which is causing
tens and tens of false positives in the latest Coverity reports for
GLib.

Ensure that the pspecs are sunk (if floating) even if adding them to the
class fails (due to validation failure or an identically named property
already existing).

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

(cherry-picked from commit 8f7df344b636d5fda3d05560f5142d5d8515662a)
2022-09-20 12:17:36 +02:00
..
2022-01-28 16:01:22 -08:00
2022-01-28 16:01:22 -08:00
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2021-07-29 10:09:27 -04:00
2020-11-17 15:50:07 +00:00
2021-12-30 12:40:47 +00:00
2022-02-01 17:09:14 -08:00
2022-02-01 17:09:14 -08:00