summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx/grammar/klass_def.hpp
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-08-15 20:48:01 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2019-08-16 16:01:38 +0200
commit491a9a5bf842d151b1e2138a4b2f1b9d17f7b085 (patch)
tree3472d99e0d43874e804f2269e4c2701a3b3b5f4d /src/lib/eolian_cxx/grammar/klass_def.hpp
parent9f2e2f99c6669a96fc2d4488af9613e7498c80ae (diff)
eolian-mono: Use correct allocator to free with free, and not delete
T8137 Differential Revision: https://phab.enlightenment.org/D9576
Diffstat (limited to '')
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 4d6d4ea79f..f96595bdc3 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -260,7 +260,8 @@ struct documentation_def
260 since = str; 260 since = str;
261 } 261 }
262 262
263 efl::eina::ptr_list<const char> l(eolian_documentation_string_split(description.c_str())); 263 efl::eina::ptr_list<const char, efl::eina::malloc_clone_allocator>
264 l(eolian_documentation_string_split(description.c_str()));
264 for (auto&& i : l) 265 for (auto&& i : l)
265 desc_paragraphs.push_back({&i}); 266 desc_paragraphs.push_back({&i});
266 } 267 }