From a9779c2aa2099249f3d329e3a2c226703c4b5577 Mon Sep 17 00:00:00 2001 From: Viktar Lukashonak Date: Tue, 6 Jun 2023 23:06:11 +0300 Subject: [PATCH] Happy Linter Signed-off-by: Viktar Lukashonak --- src/modules/sni/watcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sni/watcher.cpp b/src/modules/sni/watcher.cpp index 6881677..663fdcd 100644 --- a/src/modules/sni/watcher.cpp +++ b/src/modules/sni/watcher.cpp @@ -14,7 +14,7 @@ Watcher::Watcher() watcher_(sn_watcher_skeleton_new()) {} Watcher::~Watcher() { - if (items_ != nullptr) { + if (items_ != nullptr) { g_slist_free_full(items_, gfWatchFree); items_ = nullptr; }