diff options
Diffstat (limited to 'src/Key.cpp')
-rw-r--r-- | src/Key.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Key.cpp b/src/Key.cpp index 79265d5..86a0bf8 100644 --- a/src/Key.cpp +++ b/src/Key.cpp @@ -69,7 +69,7 @@ std::string Key::GetValue() const char* s = NULL; plist_get_key_val(_node, &s); std::string ret = s ? s : ""; - delete s; + free(s); return ret; } |