custom module: free memory returned by libc's getline

This commit is contained in:
lilydjwg 2023-03-29 21:18:13 +08:00
parent 473eb0982b
commit 918de59988
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ void waybar::modules::Custom::continuousWorker() {
output_ = {0, output};
dp.emit();
}
free(buff);
};
}