GNOME Bugzilla – Bug 683929
a pair of mem leaks
Last modified: 2012-09-17 07:01:13 UTC
see patches
Created attachment 224200 [details] [review] ephy_web_view_load_error_page: fix GtkIconInfo leak
Created attachment 224201 [details] [review] ephy-session: fix xmlChar* leak
Created attachment 224202 [details] [review] ephy-dialog: fix GtkBuilder leak
Review of attachment 224200 [details] [review]: Looks good.
Review of attachment 224201 [details] [review]: ::: src/ephy-session.c @@ +971,3 @@ confirm_before_recover (window, (char*) url, (char*) title); + + xmlFree (title); Can xmlFree() deal with NULL values? If so, then it looks good to commit.
Review of attachment 224202 [details] [review]: ::: lib/ephy-dialog.c @@ +395,3 @@ + g_object_unref (dialog->priv->builder); + I think you should use g_clear_object() here, since the dispose method might be called more than once.
Created attachment 224216 [details] [review] ephy-session: fix xmlChar* leak v2 >Can xmlFree() deal with NULL values? In practice it can, but not guaranteed. So better avoid potential bug.
Created attachment 224217 [details] [review] ephy-dialog: fix GtkBuilder leak v2 >the dispose method might be called more than once I didn't know this, thanks.
Review of attachment 224216 [details] [review]: Great!
Review of attachment 224217 [details] [review]: Thanks!
Could someone commit? I don't have git account. Thanks.
Attachment 224200 [details] pushed as ce03b41 - ephy_web_view_load_error_page: fix GtkIconInfo leak