projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2cce3ea
)
Remove unused string copy from procmsg_msg_exist().
author
Andrej Kacian
<ticho@claws-mail.org>
Tue, 4 Sep 2018 22:17:59 +0000
(
00:17
+0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Tue, 4 Sep 2018 22:17:59 +0000
(
00:17
+0200)
src/procmsg.c
patch
|
blob
|
history
diff --git
a/src/procmsg.c
b/src/procmsg.c
index e484700bcdfe24d9b663f0942e5b94736f63dfab..df05e9b96d6af89b75ce5513fa5456cf4804bbbd 100644
(file)
--- a/
src/procmsg.c
+++ b/
src/procmsg.c
@@
-531,14
+531,11
@@
FILE *procmsg_open_message(MsgInfo *msginfo)
gboolean procmsg_msg_exist(MsgInfo *msginfo)
{
gboolean procmsg_msg_exist(MsgInfo *msginfo)
{
- gchar *path;
gboolean ret;
if (!msginfo) return FALSE;
gboolean ret;
if (!msginfo) return FALSE;
- path = folder_item_get_path(msginfo->folder);
ret = !folder_item_is_msg_changed(msginfo->folder, msginfo);
ret = !folder_item_is_msg_changed(msginfo->folder, msginfo);
- g_free(path);
return ret;
}
return ret;
}