[dovecot-cvs] dovecot/src/imap cmd-append.c, 1.52, 1.53 cmd-store.c, 1.29, 1.30

cras at dovecot.org cras at dovecot.org
Sat Feb 5 14:01:44 EET 2005


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv21606/imap

Modified Files:
	cmd-append.c cmd-store.c 
Log Message:
Internal changes in how keywords are handled. struct mail_keywords isn't
automatically freed anymore, added *_keywords_free() for that.



Index: cmd-append.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-append.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- cmd-append.c	31 Jan 2005 18:19:39 -0000	1.52
+++ cmd-append.c	5 Feb 2005 12:01:41 -0000	1.53
@@ -272,6 +272,9 @@
 					  internal_date, timezone_offset, NULL,
 					  ctx->input, FALSE);
 
+	if (keywords != NULL)
+		mailbox_keywords_free(ctx->t, keywords);
+
 	client->command_pending = TRUE;
 	client->cmd_func = cmd_append_continue_message;
 	return cmd_append_continue_message(client);

Index: cmd-store.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-store.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- cmd-store.c	10 Jan 2005 17:37:20 -0000	1.29
+++ cmd-store.c	5 Feb 2005 12:01:41 -0000	1.30
@@ -107,6 +107,9 @@
 		}
 	}
 
+	if (keywords != NULL)
+		mailbox_keywords_free(t, keywords);
+
 	if (mailbox_search_deinit(search_ctx) < 0)
 		failed = TRUE;
 



More information about the dovecot-cvs mailing list