Clean up old allocations in pipe.c before allocating

This commit is contained in:
ejurgensen 2014-03-31 13:13:24 +02:00
parent 6062ca014b
commit 16756a6632

View File

@ -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)
{