diff options
author | Michael Vogt <mvo@debian.org> | 2014-05-29 12:23:51 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-05-29 12:23:51 +0200 |
commit | 7adaab0430308a17f1db279f0ebbed8068dd4308 (patch) | |
tree | 47ee7ee7506b363c80939037833ae933ea300633 /ftparchive/contents.cc | |
parent | e1a69e71efc0679815f722480169f16bf02622ab (diff) | |
parent | b29599105ed9a5bb38b55cb066ef81256d66be41 (diff) |
Merge remote-tracking branch 'mvo/debian/sid' into debian/sid
Diffstat (limited to 'ftparchive/contents.cc')
-rw-r--r-- | ftparchive/contents.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/ftparchive/contents.cc b/ftparchive/contents.cc index 7a1fb779e..91dd2b8bd 100644 --- a/ftparchive/contents.cc +++ b/ftparchive/contents.cc @@ -302,7 +302,18 @@ void GenContents::DoPrint(FILE *Out,GenContents::Node *Top, char *Buf) DoPrint(Out,Top->BTreeRight,Buf); } /*}}}*/ - +// ContentsExtract Constructor /*{{{*/ +ContentsExtract::ContentsExtract() + : Data(0), MaxSize(0), CurSize(0) +{ +}; + /*}}}*/ +// ContentsExtract Destructor /*{{{*/ +ContentsExtract::~ContentsExtract() +{ + free(Data); +}; + /*}}}*/ // ContentsExtract::Read - Read the archive /*{{{*/ // --------------------------------------------------------------------- /* */ |