On 12/12/2013 23:52, rastersoft wrote:
BTW: The whole VAPI file is this:
using Xcb;
[CCode (lower_case_cprefix = xcb_icccm_, cheader_filename =
xcb/xcb_icccm.h)]
namespace XcbIcccm {
public Xcb.GetPropertyCookie get_wm_class(Connection conn, Window
window);
public
That was the solution: mark the fields as unowned. Thanks!!!
El 13/12/13 09:18, Luca Bruno escribió:
On 12/12/2013 23:52, rastersoft wrote:
BTW: The whole VAPI file is this:
using Xcb;
[CCode (lower_case_cprefix = xcb_icccm_, cheader_filename =
xcb/xcb_icccm.h)]
namespace XcbIcccm {
Dear all,
I had a memory leak in my app that I traced to
a delegate variable. Something like this:
class X {
delegate void Delegate ();
Delegate d;
public void xx () {
d = () = { do_stuff ();};
}
}
Given the above, the following will leak memory:
{