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

feedback-manager: Don't forget to remove not found events from the hash table

This plugs a leak.
parent cf56999b
......@@ -315,6 +315,7 @@ fbd_feedback_manager_handle_trigger_feedback (LfbGdbusFeedback *object,
G_CONNECT_SWAPPED);
fbd_event_run_feedbacks (event);
} else {
g_hash_table_remove (self->events, GUINT_TO_POINTER (event_id));
lfb_gdbus_feedback_emit_feedback_ended (LFB_GDBUS_FEEDBACK(self), event_id,
FBD_EVENT_END_REASON_NOT_FOUND);
}
......
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