Browse Source

Merge remote-tracking branch 'public/bug11605_024'

Nick Mathewson 10 years ago
parent
commit
545e2119f2
2 changed files with 3 additions and 1 deletions
  1. 2 0
      changes/bug11605
  2. 1 1
      src/common/util.c

+ 2 - 0
changes/bug11605

@@ -0,0 +1,2 @@
+  o Minor bugfixes (dmalloc):
+    - Fix compilation with dmalloc. Fixes bug 11605; bugfix on 0.2.4.10-alpha.

+ 1 - 1
src/common/util.c

@@ -303,7 +303,7 @@ tor_memdup_(const void *mem, size_t len DMALLOC_PARAMS)
 /** As tor_memdup(), but add an extra 0 byte at the end of the resulting
  * memory. */
 void *
-tor_memdup_nulterm(const void *mem, size_t len DMALLOC_PARAMS)
+tor_memdup_nulterm_(const void *mem, size_t len DMALLOC_PARAMS)
 {
   char *dup;
   tor_assert(len < SIZE_T_CEILING+1);