diff options
Diffstat (limited to 'src/Data.cpp')
-rw-r--r-- | src/Data.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data.cpp b/src/Data.cpp index 4515388..a96fc50 100644 --- a/src/Data.cpp +++ b/src/Data.cpp @@ -70,7 +70,7 @@ std::vector<char> Data::GetValue() const uint64_t length = 0; plist_get_data_val(_node, &buff, &length); std::vector<char> ret(buff, buff + length); - free(buff); + delete buff; return ret; } |