diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-12-07 23:00:07 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-12-07 23:00:07 +0000 |
commit | 2271dbe3df3cf8ae322c5532e794a04f31ee5811 (patch) | |
tree | 5130c1ad96e4424c2a8958737087ed2dabb7496d /src/video_out/video_out_pgx64.c | |
parent | b04faf7407c9c47f615d50799517ff25a5cb6ccc (diff) | |
download | xine-lib-2271dbe3df3cf8ae322c5532e794a04f31ee5811.tar.gz xine-lib-2271dbe3df3cf8ae322c5532e794a04f31ee5811.tar.bz2 |
All gui_data_exchange containing X calls may xlocked/xunlocked. Don't forget
to xfreeing gc before creating a new one.
CVS patchset: 3459
CVS date: 2002/12/07 23:00:07
Diffstat (limited to 'src/video_out/video_out_pgx64.c')
-rw-r--r-- | src/video_out/video_out_pgx64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_out/video_out_pgx64.c b/src/video_out/video_out_pgx64.c index 2e1fad37e..14f80262a 100644 --- a/src/video_out/video_out_pgx64.c +++ b/src/video_out/video_out_pgx64.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_pgx64.c,v 1.16 2002/12/07 01:14:52 komadori Exp $ + * $Id: video_out_pgx64.c,v 1.17 2002/12/07 23:00:07 f1rmb Exp $ * * video_out_pgx64.c, Sun PGX64/PGX24 output plugin for xine * @@ -538,6 +538,7 @@ static int pgx64_gui_data_exchange(pgx64_driver_t *this, int data_type, void *da this->drawable = (Drawable)data; #ifdef HAVE_X11 XLockDisplay(this->display); + XFreeGC(this->display, this->gc); this->gc = XCreateGC(this->display, this->drawable, 0, NULL); XUnlockDisplay(this->display); #endif |