projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
buffy.c
diff --git
a/buffy.c
b/buffy.c
index
ac8ef46
..
e259a11
100644
(file)
--- a/
buffy.c
+++ b/
buffy.c
@@
-16,6
+16,7
@@
#include "mutt.h"
#include "buffy.h"
#include "mutt.h"
#include "buffy.h"
+#include "buffer.h"
#include "mx.h"
#include "mh.h"
#include "sidebar.h"
#include "mx.h"
#include "mh.h"
#include "sidebar.h"
@@
-169,8
+170,8
@@
void buffy_update_mailbox (BUFFY * b)
/* func to free buffy for list_del() */
static void buffy_free (BUFFY** p) {
/* func to free buffy for list_del() */
static void buffy_free (BUFFY** p) {
-
FREE
(&(*p)->path);
-
FREE
(p);
+
mem_free
(&(*p)->path);
+
mem_free
(p);
}
int buffy_lookup (const char* path) {
}
int buffy_lookup (const char* path) {
@@
-219,7
+220,7
@@
int buffy_parse_mailboxes (BUFFER * path, BUFFER * s, unsigned long data,
}
if (i < 0) {
}
if (i < 0) {
- tmp =
safe
_calloc (1, sizeof (BUFFY));
+ tmp =
mem
_calloc (1, sizeof (BUFFY));
tmp->path = str_dup (buf);
tmp->magic = 0;
list_push_back (&Incoming, tmp);
tmp->path = str_dup (buf);
tmp->magic = 0;
list_push_back (&Incoming, tmp);