Merge pull request #201 from liuming50/fix-a-memleak

Fix a memleak.
This commit is contained in:
Joachim Wiberg authored and GitHub committed 2021-09-09 09:04:42 +02:00
commit 49c705b5ad
1 file changed
+2
+2
View File
@@ -97,6 +97,8 @@ static void usr_init(void *arg)
if (iwatch_add(&iw_usr, path, IN_ONLYDIR)) if (iwatch_add(&iw_usr, path, IN_ONLYDIR))
iwatch_exit(&iw_usr); iwatch_exit(&iw_usr);
free(path);
} }
static plugin_t plugin = { static plugin_t plugin = {