Fix several memory leaks
Compare changes
- Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
+ 3
− 1
@@ -1968,7 +1968,9 @@ _srt_graphics_get_from_report (JsonObject *json_obj,
An updated clang version in Debian testing/unstable is better at detecting memory leaks than previous versions, causing test failures. Unlike !577 (merged), I wasn't able to locate these until I recompiled GLib with ASan instrumentation.
/cc @denittis
lib: Fix several leaks when loading a JSON report
In each case we weren't freeing the result of json_object_get_members(),
which is (transfer container)
.
lib: Don't leak the GAppInfo that is the default for steam: URIs
tests: Don't leak the list of desktop entries
Revert "CI: Switch development container to Debian 12"
This reverts commit 1982a2d4.
Signed-off-by:
Simon McVittie <smcv@collabora.com>