projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added uxsel.c, into which I've moved those parts of the uxnet.c
[u/mdw/putty]
/
unix
/
uxagentc.c
diff --git
a/unix/uxagentc.c
b/unix/uxagentc.c
index
af56f1b
..
e16c92f
100644
(file)
--- a/
unix/uxagentc.c
+++ b/
unix/uxagentc.c
@@
-80,7
+80,7
@@
void agent_query(void *in, int inlen, void **out, int *outlen)
}
retsize += 4;
assert(retbuf == sizebuf);
- retbuf = s
malloc(retsize
);
+ retbuf = s
newn(retsize, char
);
memcpy(retbuf, sizebuf, 4);
}
}