Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module_adapter: Make free and prepare methods optional
Simple modules may not need to provide free and prepare functions. To avoid having to provide dummy methods, added an if to check if a module implemented these methods. This will prevent null reference if a module doesn't implement these methods. Signed-off-by: Adrian Warecki <[email protected]>
- Loading branch information