mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[filescanner] Fix use of uninitialized variable
This commit is contained in:
parent
b84df9c5c3
commit
73d5832d98
@ -2065,7 +2065,7 @@ kqueue_cb(int fd, short event, void *arg)
|
|||||||
|
|
||||||
while ((d = pop_dir(&rescan)))
|
while ((d = pop_dir(&rescan)))
|
||||||
{
|
{
|
||||||
process_directories(path, 0, d->parent_id);
|
process_directories(d->path, 0, d->parent_id);
|
||||||
|
|
||||||
free(d->path);
|
free(d->path);
|
||||||
free(d);
|
free(d);
|
||||||
|
Loading…
Reference in New Issue
Block a user