summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2014-06-28 13:05:12 -0700
committerAliaksey Kandratsenka <alk@tut.by>2014-06-28 13:05:12 -0700
commitfd81ec257883c6d5486e4568c955dff86dbed5c8 (patch)
tree6a5f35a1bd1c93af86e0457af5f7d57fb1bea681
parent2e90b6fd72fec33aedf547d1977bdee6b77645b9 (diff)
downloadgperftools-fd81ec257883c6d5486e4568c955dff86dbed5c8.tar.gz
issue-631: fixed miscompilation of debugallocation without mmap
This applies patch sent by user iamxujian. Clearly, when I updated debugallocation to fix issue-464 I've broken no-mmap path by forgetting closing brace.
-rw-r--r--src/debugallocation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debugallocation.cc b/src/debugallocation.cc
index 4f03d9c..2a8a20e 100644
--- a/src/debugallocation.cc
+++ b/src/debugallocation.cc
@@ -529,7 +529,7 @@ class MallocBlock {
b = (MallocBlock*) do_malloc(real_malloced_size(size));
}
#else
- b = (MallocBlock*) do_malloc(real_malloced_size(size);
+ b = (MallocBlock*) do_malloc(real_malloced_size(size));
#endif
// It would be nice to output a diagnostic on allocation failure