Mismatched resource deallocation 19/16019/2
authorDmitry Bogatov <d.bogatov@samsung.com>
Fri, 31 Jan 2014 07:33:21 +0000 (11:33 +0400)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Thu, 27 Mar 2014 05:31:08 +0000 (22:31 -0700)
Change-Id: I104a8c1cbbfe583969db1a5321654de77150997a
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
daemon/input_events.c

index df2a108..e382bee 100644 (file)
@@ -131,7 +131,7 @@ static int check_input(char *inputname, int input_id)
 
 exit:
        if (cmd_fp != NULL)
-               pclose(cmd_fp);
+               fclose(cmd_fp);
        return ret;
 }