summaryrefslogtreecommitdiff
path: root/tools/mate-session-check-accelerated.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.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.c')
-rw-r--r--tools/mate-session-check-accelerated.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/mate-session-check-accelerated.c b/tools/mate-session-check-accelerated.c
index 6fe6ec4..70095f5 100644
--- a/tools/mate-session-check-accelerated.c
+++ b/tools/mate-session-check-accelerated.c
@@ -158,6 +158,7 @@ main (int argc, char **argv)
renderer_string = get_gtk_gles_renderer ();
if (renderer_string) {
g_print ("%s", renderer_string);
+ g_free (renderer_string);
return 0;
}
return 1;