projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Red Hat Bug #253342: inc.c, utils.c, utils.h: When inc is run with the
[mmh]
/
uip
/
mhfree.c
diff --git
a/uip/mhfree.c
b/uip/mhfree.c
index
aef86cd
..
abaeb2b
100644
(file)
--- a/
uip/mhfree.c
+++ b/
uip/mhfree.c
@@
-4,6
+4,10
@@
* -- represent MIME messages
*
* $Id$
* -- represent MIME messages
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
*/
#include <h/mh.h>
@@
-11,8
+15,6
@@
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/mime.h>
#include <h/mhparse.h>
-extern int errno;
-
/*
* prototypes
*/
/*
* prototypes
*/
@@
-99,6
+101,8
@@
free_content (CT ct)
free (ct->c_id);
if (ct->c_descr)
free (ct->c_descr);
free (ct->c_id);
if (ct->c_descr)
free (ct->c_descr);
+ if (ct->c_dispo)
+ free (ct->c_dispo);
if (ct->c_file) {
if (ct->c_unlink)
if (ct->c_file) {
if (ct->c_unlink)
@@
-267,6
+271,7
@@
free_encoding (CT ct, int toplevel)
if (ce->ce_unlink)
unlink (ce->ce_file);
free (ce->ce_file);
if (ce->ce_unlink)
unlink (ce->ce_file);
free (ce->ce_file);
+ ce->ce_file = NULL;
}
if (toplevel) {
}
if (toplevel) {