X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-mail-operation.c;h=7baff772612aa16cf265dabfb5fc756146a3d31d;hp=4c3efb3fbff58e5f996a4b49d8cf0b33d5af66f2;hb=9059badd58480f5ef0612386ffb94b0075c7aede;hpb=d27a0a29347366d5421e7e796eca4655ef0d095a diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index 4c3efb3..7baff77 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -741,11 +741,8 @@ modest_mail_operation_create_msg (ModestMailOperation *self, ModestMailOperationCreateMsgCallback callback, gpointer userdata) { - ModestMailOperationPrivate *priv; CreateMsgInfo *info = NULL; - priv = MODEST_MAIL_OPERATION_GET_PRIVATE(self); - info = g_slice_new0 (CreateMsgInfo); info->mail_op = g_object_ref (self); @@ -2916,6 +2913,8 @@ modest_mail_operation_refresh_folder (ModestMailOperation *self, state->total = 0; g_signal_emit (G_OBJECT (self), signals[PROGRESS_CHANGED_SIGNAL], 0, state, NULL); + + /* FIXME: we're leaking the state here, or? valgrind thinks so */ tny_folder_refresh_async (folder, on_refresh_folder,