Re: [Vala] Potential memory leak?

2011-01-07 Thread Stefano Debenedetti
Il 29/12/2010 20:45, Abderrahim Kitouni ha scritto: Isn't this a memory leak? It is. But this is not intentional : the bindings are auto generated and often return values are marked as unowned while they should be freed. Feel free to file a bug. Here's another similar case in

[Vala] Potential memory leak?

2010-12-29 Thread Alexander Krivács Schrøder
Hi. I have a question. If you look at the documentation for the gtk_source_completion_proposal_get_text () C function: http://library.gnome.org/devel/gtksourceview/2.9/GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-text It says The returned string must be freed with

Re: [Vala] Potential memory leak?

2010-12-29 Thread Jürg Billeter
On Wed, 2010-12-29 at 20:45 +0100, Abderrahim Kitouni wrote: Hello, في ر، 29-12-2010 عند 18:34 +0100 ، كتب Alexander Krivács Schrøder: Hi. I have a question. If you look at the documentation for the gtk_source_completion_proposal_get_text () C function: