custom module: free memory returned by libc's getline
parent
473eb0982b
commit
918de59988
|
@ -88,6 +88,7 @@ void waybar::modules::Custom::continuousWorker() {
|
|||
output_ = {0, output};
|
||||
dp.emit();
|
||||
}
|
||||
free(buff);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue