Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,11 @@ public class PhaseLockedVocoder: Node {
au.setWavetable(data: data, size: Int(ioNumberFrames))
} else {
// failure
theData?.deallocate()
theData = nil // make sure to return NULL
Log("Error = \(err)"); break Exit
}
// Fixing a previous memory leak
theData?.deallocate()
theData = nil
}
}
}
Expand Down
Loading