summaryrefslogtreecommitdiff
path: root/tools/mate-session-check-accelerated-gles-helper.c
diff options
context:
space:
mode:
authorRobert Antoni Buj Gelonch <[email protected]>2022-08-20 02:19:30 +0200
committerraveit65 <[email protected]>2023-05-05 14:01:38 +0200
commit7b09df2f9a5ddf27b4c4458e6f8cb3ad701ee24d (patch)
tree6b17f9b465497b1ea29bf017fc2746969ad6a611 /tools/mate-session-check-accelerated-gles-helper.c
parentfe5afa90cf6cc29890ba8075ef1dbbdda6049eef (diff)
downloadmate-session-manager-7b09df2f9a5ddf27b4c4458e6f8cb3ad701ee24d.tar.bz2
mate-session-manager-7b09df2f9a5ddf27b4c4458e6f8cb3ad701ee24d.tar.xz
Fix memory leaks (#284)
Diffstat (limited to 'tools/mate-session-check-accelerated-gles-helper.c')
-rw-r--r--tools/mate-session-check-accelerated-gles-helper.c2
1 files changed, 2 insertions, 0 deletions
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;
}