From 7b09df2f9a5ddf27b4c4458e6f8cb3ad701ee24d Mon Sep 17 00:00:00 2001 From: Robert Antoni Buj Gelonch Date: Sat, 20 Aug 2022 02:19:30 +0200 Subject: Fix memory leaks (#284) --- tools/mate-session-check-accelerated-gles-helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/mate-session-check-accelerated-gles-helper.c') diff --git a/tools/mate-session-check-accelerated-gles-helper.c b/tools/mate-session-check-accelerated-gles-helper.c index e6312c6..d5ad808 100644 --- a/tools/mate-session-check-accelerated-gles-helper.c +++ b/tools/mate-session-check-accelerated-gles-helper.c @@ -226,8 +226,10 @@ main (int argc, else ret = HELPER_ACCEL; } + g_free (renderer); #endif out: + g_option_context_free (context); return ret; } -- cgit v1.2.1