Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache: cache_include(): fix double put for cloned objects
When switching to auto obj, a nl_object_put() was left inplace in cache_include(). This leads to a double reference drop of the cloned object, leading to use after free later or triggering an assert that the reference count went negative. Fixes: 831e986 ("cache: use the new _nl_auto_nl_object helper") Signed-off-by: Jonas Gorski <[email protected]>
- Loading branch information