Remember to free GDI Pen resources, introduced by bug 340201.(#364514)

2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>

        * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
        to free GDI Pen resources, introduced by bug 340201.(#364514)
This commit is contained in:
Dom Lachowicz 2006-10-23 20:24:31 +00:00 • committed by Dom Lachowicz
commit eaa2c93fcd
2 changed files with 6 additions and 0 deletions

View file

@ -1285,6 +1285,7 @@ draw_expander (GtkStyle * style,
}
SelectObject( dc, old_pen );
DeleteObject( pen );
release_window_dc( style, window, state );
}