summaryrefslogtreecommitdiff
path: root/xine_fbfe_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_fbfe_frontend.c')
-rw-r--r--xine_fbfe_frontend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xine_fbfe_frontend.c b/xine_fbfe_frontend.c
index 13d3f542..698ee7d0 100644
--- a/xine_fbfe_frontend.c
+++ b/xine_fbfe_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_fbfe_frontend.c,v 1.19 2008-03-28 22:17:17 phintuka Exp $
+ * $Id: xine_fbfe_frontend.c,v 1.20 2008-05-21 20:06:45 phintuka Exp $
*
*/
@@ -282,8 +282,7 @@ static void fbfe_display_close(frontend_t *this_gen)
static frontend_t *fbfe_get_frontend(void)
{
- fe_t *this = malloc(sizeof(fe_t));
- memset(this, 0, sizeof(fe_t));
+ fe_t *this = calloc(1, sizeof(fe_t));
this->fd_tty = -1;