diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2017-12-07 19:32:27 +0000 |
---|---|---|
committer | Frediano Ziglio <freddy77@gmail.com> | 2023-11-22 07:39:17 +0000 |
commit | c41492191b8c3043ba70a09fe005b651b92f13a7 (patch) | |
tree | 1313f056c8276fb6169f015cd289a6e64885962d | |
parent | ea653b1c17100f35f7feb02d9bae60998a9e8569 (diff) |
dcc: remove another one line inline
-rw-r--r-- | server/dcc.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/dcc.cpp b/server/dcc.cpp index 558ffd3a..d889683c 100644 --- a/server/dcc.cpp +++ b/server/dcc.cpp @@ -403,11 +403,6 @@ void dcc_start(DisplayChannelClient *dcc) } } -static inline void dcc_destroy_stream_agents(DisplayChannelClient *dcc) -{ - video_stream_agents_deinit(&dcc->priv->stream_agents); -} - static void dcc_stop(DisplayChannelClient *dcc) { DisplayChannel *dc = DCC_TO_DC(dcc); @@ -416,7 +411,7 @@ static void dcc_stop(DisplayChannelClient *dcc) dcc->priv->pixmap_cache = nullptr; dcc_palette_cache_reset(dcc); g_free(dcc->priv->send_data.free_list.res); - dcc_destroy_stream_agents(dcc); + video_stream_agents_deinit(&dcc->priv->stream_agents); image_encoders_free(&dcc->priv->encoders); if (dcc->priv->gl_draw_ongoing) { |