[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:39:39 +0000 (UTC)
commit 21013dc81379206451d1cc316e81d8bec2382d72
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]