[mutter/wip/mutkupavels/fix-memory-leak-in-output-xrandr] output-xrandr: fix memory leak
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/mutkupavels/fix-memory-leak-in-output-xrandr] output-xrandr: fix memory leak
- Date: Sun, 21 Aug 2022 14:36:53 +0000 (UTC)
commit 231e60eee2699b62e3ee2ee82d651a9e7d4ebe69
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun Aug 21 17:33:16 2022 +0300
output-xrandr: fix memory leak
Introduced in 99d84ae1cc8f027a35c32d266cef48758daaff6d.
src/backends/x11/meta-output-xrandr.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/backends/x11/meta-output-xrandr.c b/src/backends/x11/meta-output-xrandr.c
index 37a377e48c..2970e14467 100644
--- a/src/backends/x11/meta-output-xrandr.c
+++ b/src/backends/x11/meta-output-xrandr.c
@@ -470,6 +470,8 @@ output_get_max_bpc_range_xrandr (Display *xdisplay,
if (max)
*max = values[1];
+ XFree (property_info);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]