mirror of
https://github.com/polybar/polybar.git
synced 2026-03-01 21:58:53 +00:00
fix(bspwm_util): Memory leak
This commit is contained in:
@ -80,6 +80,7 @@ namespace bspwm_util {
|
||||
return BSPWM_SOCKET_PATH;
|
||||
|
||||
snprintf(sa.sun_path, sizeof(sa.sun_path), "/tmp/bspwm%s_%i_%i-socket", host, dsp, scr);
|
||||
free(host);
|
||||
|
||||
return sa.sun_path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user