Commit 3403f3ba authored by Frederik Kriewitz's avatar Frederik Kriewitz

add missing free

parent e2a7c0b4
......@@ -757,6 +757,9 @@ bool Audio::connecttoFS(fs::FS& fs, const char* path, int32_t resumeFilePos) {
if (!audioName) {
AUDIO_INFO("File doesn't exist: \"%s\"", path);
xSemaphoreGiveRecursive(mutex_audio);
if (audioNameAlternative) {
free(audioNameAlternative);
}
return false;
}
......
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