On Sun, 2017-03-05 at 14:21 -0800, John Ralls wrote:
> Ah, thanks. A note to that effect in the docs would be helpful.

It's an easy mistake to make, I know, but as a rule, all GObjects have
to be freed with g_object_unref. GObject libraries do not normally
document that for each object.

You really don't want to free anything with g_free() unless you know
that it was allocated using g_malloc() or g_new().

Michael
_______________________________________________
webkit-gtk mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-gtk

Reply via email to