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
588c225b
...
588c225b3eb45872f7978c0d7e3d79cdd397a933
authored
2017-01-23 14:03:11 +0200
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix memory allocation
1 parent
3f1703cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
imap4d/list.c
mu/pop.c
mu/smtp.c
imap4d/list.c
View file @
588c225
...
...
@@ -121,9 +121,8 @@ list_ref (char const *ref, char const *wcard, char const *cwd,
rc
=
mu_folder_create
(
&
folder
,
cwd
);
if
(
rc
)
{
return
RESP_NO
;
}
return
RESP_NO
;
/* Force the right matcher */
mu_folder_set_match
(
folder
,
mu_folder_imap_match
);
...
...
mu/pop.c
View file @
588c225
...
...
@@ -503,7 +503,7 @@ com_connect (int argc, char **argv)
else
{
connect_argc
=
argc
;
connect_argv
=
mu_calloc
(
argc
,
sizeof
(
*
connect_argv
));
connect_argv
=
mu_calloc
(
argc
+
1
,
sizeof
(
*
connect_argv
));
for
(
i
=
0
;
i
<
argc
;
i
++
)
connect_argv
[
i
]
=
mu_strdup
(
argv
[
i
]);
connect_argv
[
i
]
=
NULL
;
...
...
mu/smtp.c
View file @
588c225
...
...
@@ -237,7 +237,7 @@ com_connect (int argc, char **argv)
else
{
connect_argc
=
argc
;
connect_argv
=
mu_calloc
(
argc
,
sizeof
(
*
connect_argv
));
connect_argv
=
mu_calloc
(
argc
+
1
,
sizeof
(
*
connect_argv
));
for
(
i
=
0
;
i
<
argc
;
i
++
)
connect_argv
[
i
]
=
mu_strdup
(
argv
[
i
]);
connect_argv
[
i
]
=
NULL
;
...
...
Please
register
or
sign in
to post a comment