mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-11 23:13:24 -05:00
Clean up old allocations in pipe.c before allocating
This commit is contained in:
parent
6062ca014b
commit
16756a6632
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user