Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
9ddac665
...
9ddac665fae01a9e81ce6c91c9edd29f81537e7c
authored
2003-02-05 22:22:55 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(build_mime): Call message_unref.
1 parent
3fe508b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
libsieve/actions.c
libsieve/actions.c
View file @
9ddac66
...
...
@@ -158,6 +158,7 @@ build_mime (mime_t *pmime, message_t msg, const char *text)
stream_printf
(
stream
,
&
off
,
"%s"
,
text
);
stream_close
(
stream
);
mime_add_part
(
mime
,
newmsg
);
message_unref
(
newmsg
);
}
/* message/delivery-status */
...
...
@@ -186,6 +187,7 @@ build_mime (mime_t *pmime, message_t msg, const char *text)
stream_printf
(
stream
,
&
off
,
"Last-Attempt-Date: %s
\n
"
,
datestr
);
stream_close
(
stream
);
mime_add_part
(
mime
,
newmsg
);
message_unref
(
newmsg
);
}
/* Quote original message */
...
...
@@ -216,6 +218,7 @@ build_mime (mime_t *pmime, message_t msg, const char *text)
}
stream_close
(
ostream
);
mime_add_part
(
mime
,
newmsg
);
message_unref
(
newmsg
);
}
*
pmime
=
mime
;
...
...
Please
register
or
sign in
to post a comment