Happy Linter

Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
This commit is contained in:
Viktar Lukashonak 2023-06-06 23:06:11 +03:00
parent 3af1853260
commit a9779c2aa2
No known key found for this signature in database
GPG Key ID: 08A413AA87200A6F

View File

@ -14,7 +14,7 @@ Watcher::Watcher()
watcher_(sn_watcher_skeleton_new()) {} watcher_(sn_watcher_skeleton_new()) {}
Watcher::~Watcher() { Watcher::~Watcher() {
if (items_ != nullptr) { if (items_ != nullptr) {
g_slist_free_full(items_, gfWatchFree); g_slist_free_full(items_, gfWatchFree);
items_ = nullptr; items_ = nullptr;
} }