diff --git a/plugins/usr.c b/plugins/usr.c index c7512349..75f14ebf 100644 --- a/plugins/usr.c +++ b/plugins/usr.c @@ -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 = {