plugins: fix memory leak in sys.so

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-02-04 23:04:41 +01:00
parent 934a4db7d5
commit 0cfd867816
+2
View File
@@ -174,6 +174,8 @@ static void sys_init(void *arg)
if (iwatch_add(&iw_sys, path, IN_ONLYDIR))
iwatch_exit(&iw_sys);
free(path);
}
static plugin_t plugin = {