From 16756a66327150b89e65ae8f4b39f5efe8cd5b04 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 31 Mar 2014 13:13:24 +0200 Subject: [PATCH] Clean up old allocations in pipe.c before allocating --- src/pipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pipe.c b/src/pipe.c index e3c605e9..86274da8 100644 --- a/src/pipe.c +++ b/src/pipe.c @@ -65,6 +65,8 @@ pipe_setup(struct media_file_info *mfi) return -1; } + pipe_cleanup(); + g_fd = open(mfi->path, O_RDONLY); if (g_fd < 0) {