Commit cf56999b authored by Guido Gunther's avatar Guido Gunther
Browse files

feedback-manager: Deeply free the feedback list

Instead of freeing each elemnt after each iteration and then the list
itself at the very end just fully free the list. g_autoslist does
not work well on oder glib so do that manually.

This is just cosmetics.
parent fb076254
......@@ -301,9 +301,8 @@ fbd_feedback_manager_handle_trigger_feedback (LfbGdbusFeedback *object,
fbd_event_add_feedback (event, fb);
found_fb = TRUE;
}
g_object_unref (fb);
}
g_slist_free (feedbacks);
g_slist_free_full (feedbacks, g_object_unref);
} else {
/* No feedbacks found at all */
found_fb = FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment