Skip to content
Snippets Groups Projects

Fix various small memory leaks

Merged Simon McVittie requested to merge wip/smcv/leak into main
  • mock-capsule-capture-libs: Fix a memory leak

    We allocated one GFile per loop iteration, but only freed the last one.

  • simple-input-device: Don't leak the HID report descriptor

  • tests: Don't leak list of portal backends

  • pv-adverb: Don't leak temporary arrays used to build search paths

  • tests: Don't leak an error


Unimportant on their own, but they contributed to a CI failure for !576 (merged).

I'm still seeing memory leaks with Debian unstable's GLib, but I think those might actually be a GLib regression: I'll continue to look into that as a non-critical-path thing.

Edited by Simon McVittie

Merge request reports

Pipeline #55770 passed

Pipeline passed for a21e0fb9 on wip/smcv/leak

Merged by Ludovico de NittisLudovico de Nittis 1 year ago (Jul 28, 2023 8:06am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading