Skip to content
Browse files

Added missing destructor call

  • Loading branch information...
1 parent ab16981 commit a59f91cc2043a4393109e6f812d5f1fb7709e5db @wedesoft committed Dec 21, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 ext/ximagepainter.cc
View
1 ext/ximagepainter.cc
@@ -89,6 +89,7 @@ void XImagePainter::paint( bool ) throw (Error)
destLineSize[0] = 4 * m_window->width();
sws_scale( swsContext, sourceData, sourceLineSize, 0,
frame->height(), destData, destLineSize );
+ sws_freeContext( swsContext );
XImage *xImage = XCreateImage( m_display->get(), m_visualInfo.visual,
24, ZPixmap, 0, (char *)array.get(),
m_window->width(), m_window->height(),

0 comments on commit a59f91c

Please sign in to comment.
Something went wrong with that request. Please try again.