summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2009-08-19 17:02:43 +0000
committerphintuka <phintuka>2009-08-19 17:02:43 +0000
commitaf34d990a44149f2dcc39d0cce1894de1357cc2d (patch)
tree1d51eb6ce5a708c26b80aea83e31d82c3ccca2ad
parent1e446c4b85418bc901bcb34ea12b81d2cbf73cf6 (diff)
downloadxineliboutput-af34d990a44149f2dcc39d0cce1894de1357cc2d.tar.gz
xineliboutput-af34d990a44149f2dcc39d0cce1894de1357cc2d.tar.bz2
Fixed memory leak
-rw-r--r--xine_frontend.c3
1 files changed, 2 insertions, 1 deletions
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;