[Release] livebox.web-provider-1.9
[platform/framework/web/web-provider.git] / src / Daemon / BoxDaemonImpl.cpp
old mode 100644 (file)
new mode 100755 (executable)
index 8bccd36..89edcd6
@@ -5,7 +5,7 @@
  *    you may not use this file except in compliance with the License.
  *    You may obtain a copy of the License at
  *
- *        http://www.tizenopensource.org/license
+ *        http://floralicense.org/license/
  *
  *    Unless required by applicable law or agreed to in writing, software
  *    distributed under the License is distributed on an "AS IS" BASIS,
@@ -459,7 +459,7 @@ const char* BoxDaemonImpl::getBoxType(const char* boxId)
             LogD("unrecognized box id");
             return NULL; 
         }
-        type = boxType.c_str();
+        type = strdup(boxType.c_str());
     }
 
     LogD("box id: %s, type: %s", boxId, type);