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: > > 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 g_free()". > [...] > > 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.
This is now fixed in master. Jürg _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list