Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W wireplumber
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 141
    • Issues 141
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWirePipeWire
  • wireplumber
  • Merge requests
  • !155

memleak fix

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julian Bouzas requested to merge julian/wireplumber:memleak-fixes into master May 24, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

The g_list_remove_link() API removes the element from the GList but does not free the allocated slot in the list. We should use g_list_delete_link() instead.

This change fixes all the valgrind memleaks in the proxy unit tests shown using the following command:

valgrind --suppressions=/usr/share/glib-2.0/valgrind/glib.supp --leak-check=full ./build/tests/wp/test-proxy
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: memleak-fixes