[evolution-data-server] Bug #630889 - Use-after-free while sending messages
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #630889 - Use-after-free while sending messages
- Date: Tue, 5 Oct 2010 14:28:23 +0000 (UTC)
commit d3cdc32528cc69cd72834ebe2b78118853361a24
Author: Milan Crha <mcrha redhat com>
Date: Tue Oct 5 16:27:46 2010 +0200
Bug #630889 - Use-after-free while sending messages
camel/camel-mime-filter-progress.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-mime-filter-progress.c b/camel/camel-mime-filter-progress.c
index 30350f3..109b3bc 100644
--- a/camel/camel-mime-filter-progress.c
+++ b/camel/camel-mime-filter-progress.c
@@ -160,7 +160,7 @@ camel_mime_filter_progress_new (GCancellable *cancellable,
priv = CAMEL_MIME_FILTER_PROGRESS_GET_PRIVATE (filter);
if (CAMEL_IS_OPERATION (cancellable))
- priv->cancellable = cancellable;
+ priv->cancellable = g_object_ref (cancellable);
priv->total = total;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]