[Coverity] Resource leak in primitive_inst.cpp (#16771)
This commit is contained in:
parent
b5a0497c19
commit
c7fe5ca73b
@ -1338,7 +1338,7 @@ void primitive_inst::load(cldnn::BinaryInputBuffer& ib) {
|
||||
bool has_impl;
|
||||
ib >> has_impl;
|
||||
if (has_impl) {
|
||||
_impl.release();
|
||||
_impl.reset();
|
||||
ib >> _impl;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user