commit 96bf849c450b236b0509b8aa136c1bc8e9e34228 Author: Oswald Buddenhagen <o...@kde.org> Date: Sun May 22 17:22:24 2011 +0200
plug memory leak in maildir_store_msg() upon failure to acquire UID src/drv_maildir.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/drv_maildir.c b/src/drv_maildir.c index 3bfccdd..e6ce1e4 100644 --- a/src/drv_maildir.c +++ b/src/drv_maildir.c @@ -1026,6 +1026,7 @@ maildir_store_msg( store_t *gctx, msg_data_t *data, int to_trash, { if ((ret = maildir_uidval_lock( ctx )) != DRV_OK || (ret = maildir_obtain_uid( ctx, &uid )) != DRV_OK) { + free( data->data ); cb( ret, 0, aux ); return; } ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel