use malloc instead of new[] in pkgTagFile
authorDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 15 Aug 2013 15:26:30 +0000 (17:26 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Thu, 15 Aug 2013 15:39:24 +0000 (17:39 +0200)
commit4b2803b8ff72b0c865c6539b2f99abea5ceee4c6
tree90bef4ff84a24d9bd5dc934af8f11639500e3faa
parent0aae6d14390193e25ab6d0fd49295bd7b131954f
use malloc instead of new[] in pkgTagFile

We don't need initialized memory for pkgTagFile, but more to the point
we can use realloc this way which hides the bloody details of increasing
the size of the buffer used.

Git-Dch: Ignore
apt-pkg/tagfile.cc