diff --git a/src/session.c b/src/session.c index 3b8423d7..58be4446 100644 --- a/src/session.c +++ b/src/session.c @@ -125,8 +125,6 @@ SR_API int sr_session_destroy(struct sr_session *session) sr_session_dev_remove_all(session); g_mutex_clear(&session->stop_mutex); - if (session->trigger) - sr_trigger_free(session->trigger); g_slist_free_full(session->owned_devs, (GDestroyNotify)sr_dev_inst_free);