From: Automatic source maintenance Date: Sat, 16 Nov 2013 01:14:32 +0000 (-0700) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_5_0_1~511 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c827044887ad21b85d744ce53aa5f6302458edd4;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/tests/stub_mem.cc b/src/tests/stub_mem.cc index 17a8d3c5fb..901a6e0a80 100644 --- a/src/tests/stub_mem.cc +++ b/src/tests/stub_mem.cc @@ -59,11 +59,13 @@ memFreeBufFunc(size_t size) return cxx_xfree; } -void * memAllocate(mem_type type) { +void * memAllocate(mem_type type) +{ // let's waste plenty of memory. This should cover any possible need return xmalloc(64*1024); } -void memFree(void *p, int type) { +void memFree(void *p, int type) +{ xfree(p); } void Mem::Init(void) STUB_NOP