Skip to content
Snippets Groups Projects

matrix: Transfer ownership of client to pointer array

Merged Guido Günther requested to merge agx/libcmatrix:client-cleanup into main
All threads resolved!

The pointer array uses a g_object_unref() as cleanup func so we need to add a ref'ed object to the array as client is marked as g_autoptr.

This fixes a crash on shutdown in eignvalue when we unref the client we get from the liststore returned by cm_matrix_get_clients_list() via g_list_model_get_item() (which gives us a reference).

Merge request reports

Loading
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