summaryrefslogtreecommitdiffstats
path: root/src/Key.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Key.cpp')
-rw-r--r--src/Key.cpp2
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;
}