X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fplugins%2Frssyl%2Frssyl.c;h=d8f3892bce2d6884e7d4d0405e6697102f38d0a1;hp=eb9561227f91190840e7d6773c9bb283ddaa80c8;hb=f54e21bebac3b16c6fbcb149d65fc89da7558ab8;hpb=baa33ee12b6e51c60e22b17b4cb78ea2caa15317 diff --git a/src/plugins/rssyl/rssyl.c b/src/plugins/rssyl/rssyl.c index eb9561227..d8f3892bc 100644 --- a/src/plugins/rssyl/rssyl.c +++ b/src/plugins/rssyl/rssyl.c @@ -697,13 +697,15 @@ static gboolean rssyl_is_msg_changed(Folder *folder, FolderItem *item, { GStatBuf s; gchar *path = NULL; + gchar *itempath = NULL; g_return_val_if_fail(folder != NULL, FALSE); g_return_val_if_fail(item != NULL, FALSE); g_return_val_if_fail(msginfo != NULL, FALSE); - path = g_strconcat(folder_item_get_path(item), G_DIR_SEPARATOR_S, - itos(msginfo->msgnum), NULL); + itempath = folder_item_get_path(item); + path = g_strconcat(itempath, G_DIR_SEPARATOR_S, itos(msginfo->msgnum), NULL); + g_free(itempath); if (g_stat(path, &s) < 0 || msginfo->size != s.st_size || (