Return value of 'malloc' not checked
emixa-d opened this issue · 1 comments
emixa-d commented
I noticed that in lemonbar.c, lines 789--790, the return value of 'malloc' is not checked, even though it could be NULL.
(Originally noticed at https://issues.guix.gnu.org/54252#1)
LemonBoy commented
Hello,
I believe the latest commit solves the problem w/ malloc
and strdup
return values not being checked in some cases.