[Swfdec] libswfdec-gtk/swfdec_gtk_loader.c

Benjamin Otte company at kemper.freedesktop.org
Thu Aug 2 04:06:22 PDT 2007


 libswfdec-gtk/swfdec_gtk_loader.c |    1 +
 1 files changed, 1 insertion(+)

New commits:
diff-tree 4d1ee537d4cd388a8b21003496d3511df6f0549d (from ba4f1da69d0c74c45b0b4d92330f2203d258bb49)
Author: Benjamin Otte <otte at gnome.org>
Date:   Thu Aug 2 13:06:55 2007 +0200

    keep a reference to the message, since it's unreffed automagically

diff --git a/libswfdec-gtk/swfdec_gtk_loader.c b/libswfdec-gtk/swfdec_gtk_loader.c
index f676831..fa2cf44 100644
--- a/libswfdec-gtk/swfdec_gtk_loader.c
+++ b/libswfdec-gtk/swfdec_gtk_loader.c
@@ -135,6 +135,7 @@ swfdec_gtk_loader_load (SwfdecLoader *lo
     if (data)
       soup_message_set_request (gtk->message, "appliation/x-www-urlencoded",
 	  SOUP_BUFFER_USER_OWNED, (char *) data, data_len);
+    g_object_ref (gtk->message);
     soup_session_queue_message (klass->session, gtk->message, swfdec_gtk_loader_finish, gtk);
   }
 }


More information about the Swfdec mailing list