Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added missing destructor call

  • Loading branch information...
commit a59f91cc2043a4393109e6f812d5f1fb7709e5db 1 parent ab16981
Jan Wedekind authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  ext/ximagepainter.cc
1  ext/ximagepainter.cc
@@ -89,6 +89,7 @@ void XImagePainter::paint( bool ) throw (Error)
89 89 destLineSize[0] = 4 * m_window->width();
90 90 sws_scale( swsContext, sourceData, sourceLineSize, 0,
91 91 frame->height(), destData, destLineSize );
  92 + sws_freeContext( swsContext );
92 93 XImage *xImage = XCreateImage( m_display->get(), m_visualInfo.visual,
93 94 24, ZPixmap, 0, (char *)array.get(),
94 95 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.