input value example
This commit is contained in:
parent
b96faacf89
commit
3a45e25409
4 changed files with 36 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ namespace Crafter {
|
|||
const char* value = CppDOMBindings::GetValue(ptr);
|
||||
if(value != nullptr) {
|
||||
std::string result(value);
|
||||
std::free(value);
|
||||
std::free(const_cast<char*>(value));
|
||||
return result;
|
||||
} else {
|
||||
return "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue