@elextr commented on this pull request.
> @@ -347,7 +348,7 @@ static void gdb_finalize(void)
if (send_channel)
{
g_io_channel_shutdown(send_channel, FALSE, NULL);
- g_io_channel_unref(send_channel);
+ g_io_channel_unref(send_channel); // cppcheck-suppress
doubleFree // should be fine
AFAICT the unref is needed, the `g_io_channel_shutdown()` documentation, erm
...source ;-) shows it doesn't unref it.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1197#discussion_r1020997544
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/pull/1197/review/[email protected]>