X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-mail-operation-queue.c;h=cb466e07935021780b61781d8ad55abdfc0ee33c;hp=92edee1b7e68c345f7ce5c504fd84a0b94256ef5;hb=f3d0a6c5a9dd68e70ce914d66814330aabf33d37;hpb=0098f26695f6f4d50bc972963e82b3dc13c164fa diff --git a/src/modest-mail-operation-queue.c b/src/modest-mail-operation-queue.c index 92edee1..cb466e0 100644 --- a/src/modest-mail-operation-queue.c +++ b/src/modest-mail-operation-queue.c @@ -493,7 +493,9 @@ modest_mail_operation_queue_get_by_source (ModestMailOperationQueue *self, static void accumulate_mail_op_strings (ModestMailOperation *op, gchar **str) { - *str = g_strdup_printf ("%s\n%s", *str, modest_mail_operation_to_string (op)); + gchar *mail_op_to_str = modest_mail_operation_to_string (op); + *str = g_strdup_printf ("%s\n%s", *str, mail_op_to_str); + g_free (mail_op_to_str); }