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
committerGitHub <[email protected]>2022-08-19 20:19:30 -0400
commit44b48ccd3823b17987439164d76a135f7c664942 (patch)
treed9418d3d7a9425290cf086eaff4cea10f0c49ed2 /tools/mate-session-check-accelerated-gles-helper.c
parent52562f5c4a9ff7189618b946ad3e2913bbf95acf (diff)
downloadmate-session-manager-44b48ccd3823b17987439164d76a135f7c664942.tar.bz2
mate-session-manager-44b48ccd3823b17987439164d76a135f7c664942.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;
}