summaryrefslogtreecommitdiffstats
path: root/swaylock/main.c
diff options
context:
space:
mode:
authorLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-07-01 23:22:21 +0900
committerLibravatar Dominique Martinet <asmadeus@codewreck.org>2018-07-02 08:03:41 +0900
commit248ea93c1af7eae5a57c354b0e2e50898f57b17d (patch)
tree813f482d8b60c005cda6968223ff132397040859 /swaylock/main.c
parentcmd_assign: fix leak on error (diff)
downloadsway-248ea93c1af7eae5a57c354b0e2e50898f57b17d.tar.gz
sway-248ea93c1af7eae5a57c354b0e2e50898f57b17d.tar.zst
sway-248ea93c1af7eae5a57c354b0e2e50898f57b17d.zip
bar config: fix uninitialized accesses on init error
If init fails halfway through it will call the destroy function, which needs some coherent stuff filled. Allocate with calloc and fill in what cannot fail first Found through static analysis.
Diffstat (limited to 'swaylock/main.c')
0 files changed, 0 insertions, 0 deletions