Fix a memleak.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
This commit is contained in:
Ming Liu
2021-08-29 14:02:04 +02:00
parent 522a06f864
commit ae8e205343
+2
View File
@@ -97,6 +97,8 @@ static void usr_init(void *arg)
if (iwatch_add(&iw_usr, path, IN_ONLYDIR))
iwatch_exit(&iw_usr);
free(path);
}
static plugin_t plugin = {