Skip to content
Snippets Groups Projects
Commit 43494937 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

client/navigation: Actually unref items when freeing routes


Call `g_object_unref()` instead of `g_object_ref()` when *freeing* routes,
fixing a memory leak.

This got caught by the new `-Wcast-function-type` GCC 8 warning.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent ecfcc96c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment