Input Server: style fix, compare with 0 explicitly
Input Server: Fix double free.

CID610594