fix prevent violation
authorwoojin <woojin2.jung@samsung.com>
Wed, 24 Apr 2013 10:50:44 +0000 (19:50 +0900)
committerwoojin <woojin2.jung@samsung.com>
Wed, 24 Apr 2013 10:50:44 +0000 (19:50 +0900)
Change-Id: Id8b7cb0131637d36d0b06e0827910f4ce569f4c2

daemon/daemon.c

index 4aa7d85..fd90d85 100644 (file)
@@ -119,8 +119,6 @@ static int get_input_id(char* inputname)
                {
                        query_cmd_type = 2;
                }
-               if(cmd_fp != NULL)
-                       pclose(cmd_fp);
        }
 
        // make command string