Skip to content

pp-chat: Fix an invalid free

GtkSortListModel owns the model we pass to it. So we should add a ref to avoid a double free.

Likely fixes #580 (closed)

/cc @sebastian.krzyszkowiak This seems to be triggering on network disconnect/reconnect. I have fixed the one I noticed. With this patch, can you check if you can still reproduce the issue?

Merge request reports