After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638912 - GLib.Socket.accept's return value should not be unowned
GLib.Socket.accept's return value should not be unowned
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GLib
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-07 15:07 UTC by Stefano Debenedetti
Modified: 2011-01-10 08:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the memory leak in GLib.Socket.accept vapi bindings. (749 bytes, patch)
2011-01-07 15:07 UTC, Stefano Debenedetti
none Details | Review

Description Stefano Debenedetti 2011-01-07 15:07:35 UTC
Created attachment 177754 [details] [review]
Patch fixing the memory leak in GLib.Socket.accept vapi bindings.

Similarly to:

http://mail.gnome.org/archives/vala-list/2010-December/msg00141.html

and to:

https://bugzilla.gnome.org/show_bug.cgi?id=620419
Comment 1 Luca Bruno 2011-01-10 08:43:57 UTC
commit 5577d727c4ce085ea26e29a8bd732d943cb7a455
Author: Luca Bruno <lucabru@src.gnome.org>
Date:   Mon Jan 10 09:42:32 2011 +0100

    gio-2.0: Mark GLib.Socket.accept return value to be owned.
    
    Based on patch by Stefano Debenedetti.
    
    Fixes bug 638912.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.