summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-08-22 04:05:43 +0000
committerDana Jansens <danakj@orodu.net>2002-08-22 04:05:43 +0000
commit78a8ca9e533e410444cd328f68e8006d03b9b145 (patch)
tree241f75f6fb3b7070da3c85d4d64507830b6f51d3
parent33d2ceccbe41a2abdb4b145ba56138b55e5d4973 (diff)
the comment more accurate
-rw-r--r--src/XAtom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XAtom.cc b/src/XAtom.cc
index e0fac57c..27912abd 100644
--- a/src/XAtom.cc
+++ b/src/XAtom.cc
@@ -359,7 +359,7 @@ bool XAtom::getValue(Window win, Atom atom, Atom type,
assert(win != None); assert(atom != None); assert(type != None);
assert(size == 8 || size == 16 || size == 32);
assert(nelements > 0);
- unsigned char *c_val = 0; // value alloc'd with c malloc
+ unsigned char *c_val = 0; // value alloc'd in Xlib, must be XFree()d
Atom ret_type;
int ret_size;
unsigned long ret_bytes;