Skip to content

calendar-server: Fix double-free detection abort

Florian Müllner requested to merge fmuellner/gnome-shell:for-3-38 into gnome-3-38

app_notify_events_added uses an intermediate builder to construct an array that is then added to the main variant using g_variant_builder_add which should clear the intermediate, but doesn't due to the way it is passed: by value, rather than as a pointer.

This was debugged with the help of Eduardo Habkost, who believes it works on x86 due to big structs being passed as pointers.

Fixed: #3440 (closed) Part-of: !1848 (merged)

(cherry picked from commit 404ca919)

Merge request reports