]> git.ipfire.org Git - thirdparty/squid.git/blob - src/MemBuf.cci
Boilerplate: update copyright blurbs on src/
[thirdparty/squid.git] / src / MemBuf.cci
1 /*
2 * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9 /* DEBUG: section 59 auto-growing Memory Buffer with printf */
10
11 MemBuf::MemBuf() : buf (NULL), size (0), max_capacity (0), capacity(0), stolen(0)
12 {}
13
14 MemBuf::~MemBuf()
15 {
16 if (!stolen && buf)
17 clean();
18 }