diff options
author | phintuka <phintuka> | 2006-06-04 11:40:58 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-06-04 11:40:58 +0000 |
commit | 468ff2acc8d288cde9644c968bf66410fc5fca49 (patch) | |
tree | 096e9017d97ea9fc58fac09d5a5f0ce770bcfde7 | |
parent | 2c206f9592408100ba0299c96e84d2e38c9bfd2f (diff) | |
download | xineliboutput-468ff2acc8d288cde9644c968bf66410fc5fca49.tar.gz xineliboutput-468ff2acc8d288cde9644c968bf66410fc5fca49.tar.bz2 |
Do not free frontend struct if connecting to X server fails
-rw-r--r-- | xine_sxfe_frontend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index ff2fe1d5..98f3434a 100644 --- a/xine_sxfe_frontend.c +++ b/xine_sxfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_sxfe_frontend.c,v 1.2 2006-06-04 11:00:04 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.3 2006-06-04 11:40:58 phintuka Exp $ * */ @@ -231,7 +231,7 @@ static int sxfe_display_open(frontend_t *this_gen, int width, int height, int fu } if (!this->display) { LOGERR("sxfe_display_open: failed to connect to X server"); - free(this); + /*free(this);*/ return 0; } |