Skip to contentSkip to conversation

gtk: don't leak the GtkBorder with VTE 0.36

PATCH Gerd Hoffmann 1 participant 1 message May 13, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 6 lines · Alberto Garcia

When gtk_widget_style_get() is used to get the "inner-border" style property, it returns a copy of the GtkBorder which must be freed by the caller.

This patch also fixes a warning about the unused 'padding' structure with VTE 0.36.

Thanks, added. Had to adjust it a bit b/c I fixed the warning in cole's patch already so the patch didn't apply cleanly any more.

cheers,
Gerd