Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2014-10-08 16:42:53 +0400
committerKenneth Heafield <github@kheafield.com>2014-10-08 16:42:53 +0400
commit36da8d1e0c17cbdecb7613398464bb9cabb56d20 (patch)
tree640641c55ac102f2fb5178fc816e260c1c0965b7 /util/scoped.cc
parente9f0ae951e59b5853ef677b1c627b4e7bc5b48b7 (diff)
KenLM 370f97fa549f02e162a3a0f17bf3ad6cce2c3813
Diffstat (limited to 'util/scoped.cc')
-rw-r--r--util/scoped.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/util/scoped.cc b/util/scoped.cc
index 6c5b0c2db..de1d9e940 100644
--- a/util/scoped.cc
+++ b/util/scoped.cc
@@ -32,10 +32,6 @@ void *CallocOrThrow(std::size_t requested) {
return InspectAddr(std::calloc(1, requested), requested, "calloc");
}
-scoped_malloc::~scoped_malloc() {
- std::free(p_);
-}
-
void scoped_malloc::call_realloc(std::size_t requested) {
p_ = InspectAddr(std::realloc(p_, requested), requested, "realloc");
}