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]
/
muttlib.c
diff --git
a/muttlib.c
b/muttlib.c
index
fbd2243
..
67326c9
100644
(file)
--- a/
muttlib.c
+++ b/
muttlib.c
@@
-27,6
+27,10
@@
#include "mutt_crypt.h"
#include "mutt_crypt.h"
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
@@
-1336,7
+1340,7
@@
BUFFER *mutt_buffer_init (BUFFER * b)
return NULL;
}
else {
return NULL;
}
else {
-
safe_free (
b->data);
+
FREE(&
b->data);
}
memset (b, 0, sizeof (BUFFER));
return b;
}
memset (b, 0, sizeof (BUFFER));
return b;
@@
-1477,8
+1481,8
@@
void mutt_free_spam_list (SPAM_LIST ** list)
p = *list;
*list = (*list)->next;
mutt_free_regexp (&p->rx);
p = *list;
*list = (*list)->next;
mutt_free_regexp (&p->rx);
-
safe_free
(&p->template);
- FREE
(&p);
+
FREE
(&p->template);
+ FREE(&p);
}
}
}
}