Commit 74b34f7b authored by Eric Wong's avatar Eric Wong Committed by Max Kellermann

directory: fix leak introduced with threaded update

Use freeList() instead of free() to free all elements in the list.
parent 260e1a90
......@@ -149,7 +149,7 @@ static void * update_task(void *arg)
}
node = node->nextNode;
}
free(path_list);
freeList(path_list);
} else {
ret = updateDirectory(mp3rootDirectory);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment