projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d2cec
)
the comment more accurate
author
Dana Jansens
<danakj@orodu.net>
Thu, 22 Aug 2002 04:05:43 +0000
(
04:05
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 22 Aug 2002 04:05:43 +0000
(
04:05
+0000)
src/XAtom.cc
patch
|
blob
|
history
diff --git
a/src/XAtom.cc
b/src/XAtom.cc
index
e0fac57
..
27912ab
100644
(file)
--- 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;