projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a couple of memory leaks detected by Valgrind.
[citadel.git]
/
webcit
/
messages.c
diff --git
a/webcit/messages.c
b/webcit/messages.c
index edbc64ba05064128c1be8e7854034e5953b4d448..724dab8c55b522b6ea79e2f50333e6d13b56a94e 100644
(file)
--- a/
webcit/messages.c
+++ b/
webcit/messages.c
@@
-101,7
+101,6
@@
void utf8ify_rfc822_string(char *buf) {
ic = ctdl_iconv_open("UTF-8", charset);
if (ic != (iconv_t)(-1) ) {
- obuf = malloc(1024);
obuflen = 1024;
obuf = (char *) malloc(obuflen);
osav = obuf;