From af34d990a44149f2dcc39d0cce1894de1357cc2d Mon Sep 17 00:00:00 2001 From: phintuka Date: Wed, 19 Aug 2009 17:02:43 +0000 Subject: Fixed memory leak --- xine_frontend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xine_frontend.c b/xine_frontend.c index d1004bb9..d383e466 100644 --- a/xine_frontend.c +++ b/xine_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_frontend.c,v 1.99 2009-08-19 16:37:21 phintuka Exp $ + * $Id: xine_frontend.c,v 1.100 2009-08-19 17:02:43 phintuka Exp $ * */ @@ -1347,6 +1347,7 @@ static int fe_send_event(frontend_t *this_gen, const char *data) msg = NULL; if (msg) { int r = this->input_plugin->f.post_vdr_event(this->input_plugin, msg); + free(msg); return (r > 0) ? FE_OK : FE_ERROR; } return FE_ERROR; -- cgit v1.2.3