[PATCH 3/4] Free the data returned by XListProperties()
Eirik Byrkjeflot Anonsen
eirik at eirikba.org
Tue May 19 10:22:07 PDT 2015
Signed-off-by: Eirik Byrkjeflot Anonsen <eirik at eirikba.org>
---
xprop.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xprop.c b/xprop.c
index 010eff4..4c3a97b 100644
--- a/xprop.c
+++ b/xprop.c
@@ -1537,6 +1537,7 @@ Show_All_Props (void)
name = Format_Atom(atoms[i]);
Show_Prop(NULL, NULL, name);
}
+ XFree(atoms);
} else
for (i = 0; i < font->n_properties; i++) {
atom = font->properties[i].name;
--
2.1.4
More information about the xorg-devel
mailing list