* src/compose.c

compose_send(): plug unnoticed memleak
This commit is contained in:
Alfons Hoogervorst 2002-09-20 22:11:00 +00:00
parent 7f0ae644cf
commit 7115d223a6
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-09-21 [alfons] 0.8.2claws63
* src/compose.c
compose_send(): plug unnoticed memleak
2002-09-20 [alfons] 0.8.2claws62
* src/addr_compl.c

View file

@ -10,7 +10,7 @@ MINOR_VERSION=8
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=claws62
EXTRA_VERSION=claws63
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target

View file

@ -2846,6 +2846,7 @@ gint compose_send(Compose *compose)
gint msgnum;
FolderItem *folder;
gint val;
gchar *msgpath;
if (compose_check_entries(compose, TRUE) == FALSE)
return -1;
@ -2856,7 +2857,9 @@ gint compose_send(Compose *compose)
return -1;
}
val = procmsg_send_message_queue(folder_item_fetch_msg(folder, msgnum));
msgpath = folder_item_fetch_msg(folder, msgnum);
val = procmsg_send_message_queue(msgpath);
g_free(msgpath);
folder_item_remove_msg(folder, msgnum);
folderview_update_item(folder, TRUE);