projects
/
monky
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some minor memleaks, fix crash on reload.
[monky]
/
src
/
mail.c
diff --git
a/src/mail.c
b/src/mail.c
index
bfd80fe
..
02b4148
100644
(file)
--- a/
src/mail.c
+++ b/
src/mail.c
@@
-816,7
+816,7
@@
static void *imap_thread(void *arg)
recvbuf[numbytes] = '\0';
DBGP2("imap_thread() received: %s", recvbuf);
if (strlen(recvbuf) > 2) {
- unsigned long messages, recent;
+ unsigned long messages, recent = 0;
char *buf = recvbuf;
char force_check = 0;
buf = strstr(buf, "EXISTS");