control: check calloc return value correctly
commitee5461277659ab143e6f20a581a3f00c752164ac
authorMatthew Whitworth <mwhitworth@gmail.com>
Fri, 2 Mar 2018 15:45:31 +0000 (2 16:45 +0100)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 2 Mar 2018 15:45:31 +0000 (2 16:45 +0100)
treefdb27c53250d896e38595a94aec11dfd1060684b
parent05c6ebb1ca01b4d923b3c70d599f11fcffc753cb
control: check calloc return value correctly

Incorrect check after calloc returns.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
src/input/control.c