[pygobject/gsoc2009: 135/160] Don't release a constructor's return value



commit 24bee62f579a996748877b8a495e6f0c2d42f5b4
Author: Simon van der Linden <svdlinden src gnome org>
Date:   Wed Aug 12 11:50:28 2009 +0200

    Don't release a constructor's return value

 gi/pygi-info.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gi/pygi-info.c b/gi/pygi-info.c
index 965d490..972f95e 100644
--- a/gi/pygi-info.c
+++ b/gi/pygi-info.c
@@ -831,9 +831,6 @@ _wrap_g_function_info_invoke (PyGIBaseInfo *self,
                 g_assert_not_reached();
         }
 
-        _pygi_argument_release(&return_arg, return_type_info, transfer,
-            GI_DIRECTION_OUT);
-
         if (return_value == NULL) {
             /* TODO */
             goto return_;



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