summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEirik Byrkjeflot Anonsen <eirik@eirikba.org>2015-05-22 11:10:04 +0200
committerAdam Jackson <ajax@redhat.com>2015-09-22 11:01:41 -0400
commitdee1d0c1316b1c62c6c62d6f0f4b13685e8e6630 (patch)
tree0a2454aa7a0da88bea84299f4343efff5673e4fd
parent4f748e3d2b1368ec0590a413ba5f7addc5e3344f (diff)
Free the data returned by XListProperties()
Signed-off-by: Eirik Byrkjeflot Anonsen <eirik@eirikba.org>
-rw-r--r--xprop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xprop.c b/xprop.c
index b49e39f..7d20ca1 100644
--- a/xprop.c
+++ b/xprop.c
@@ -1515,6 +1515,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;