mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
custom module: free memory returned by libc's getline
This commit is contained in:
parent
473eb0982b
commit
918de59988
@ -88,6 +88,7 @@ void waybar::modules::Custom::continuousWorker() {
|
|||||||
output_ = {0, output};
|
output_ = {0, output};
|
||||||
dp.emit();
|
dp.emit();
|
||||||
}
|
}
|
||||||
|
free(buff);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user