[glib] Forgot to return the allocated data in async_op_wrapper_new



commit d3a2c457cb55730181c04c8d6d1f611ee555c250
Author: Alexander Larsson <alexl redhat com>
Date:   Fri May 15 20:42:04 2009 +0200

    Forgot to return the allocated data in async_op_wrapper_new
---
 gio/gfileiostream.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gio/gfileiostream.c b/gio/gfileiostream.c
index 9491e76..3cc72ed 100644
--- a/gio/gfileiostream.c
+++ b/gio/gfileiostream.c
@@ -603,6 +603,8 @@ async_op_wrapper_new (gpointer object,
   data->object = g_object_ref (object);
   data->callback = callback;
   data->user_data = user_data;
+
+  return data;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]