kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Fix memory leaks in global data
rodzic
65d9497ff3
commit
643ac8eab2
|
@ -2475,7 +2475,7 @@ void run_functions_at_backend_exit()
|
|||
{
|
||||
(*it)();
|
||||
}
|
||||
s_functions_run_at_backend_exit.release();
|
||||
s_functions_run_at_backend_exit.reset();
|
||||
}
|
||||
|
||||
void debug_dump(unsigned level, const Genesys_Settings& settings)
|
||||
|
|
|
@ -717,7 +717,7 @@ public:
|
|||
|
||||
void deinit()
|
||||
{
|
||||
ptr_.release();
|
||||
ptr_.reset();
|
||||
}
|
||||
|
||||
const T* operator->() const { return ptr_.get(); }
|
||||
|
|
Ładowanie…
Reference in New Issue