mirror of https://github.com/aria2/aria2
Fixed possible memory leak when an exception is thrown.
* src/XML2SAXMetalinkProcessor.cc
Added Expat support. If both libxml2 and Expat are installed,
then
libxml2 is used by default.
MetalinkProcessorFactory chooses from XML2SAXMetalinkProcessor
and
ExpatMetalinkProcessor according to the configuration.
* src/ExpatMetalinkProcessor.{h, cc}
* src/main.cc: Removed libxml2 specific header and init/free
function.
* src/MetalinkProcessorFactory.{h, cc}
* src/MetalinkHelper.cc
* src/Metalinker.h: Removed unnecessary libxml2 header.
* src/MetalinkProcessor.h
* test/XML2SAXMetalinkProcessorTest.cc: Removed because
MetalinkProcessorTest is used instead.
* test/MetalinkProcessorTest.cc: Added. It is actually the same
with
XML2SAXMetalinkProcessor, replaced XML2SAXMetalinkProcessor with
MetalinkProcessorFactory::newInstance().
* m4/libexpat.m4
* configure.ac: Added configuration options for libexpat.
|
||
|---|---|---|
| .. | ||
| ChangeLog | ||
| Makefile.am | ||
| Makefile.in | ||
| codeset.m4 | ||
| gettext.m4 | ||
| glibc21.m4 | ||
| iconv.m4 | ||
| intdiv0.m4 | ||
| inttypes-pri.m4 | ||
| inttypes.m4 | ||
| inttypes_h.m4 | ||
| isc-posix.m4 | ||
| lcmessage.m4 | ||
| lib-ld.m4 | ||
| lib-link.m4 | ||
| lib-prefix.m4 | ||
| libares.m4 | ||
| libcares.m4 | ||
| libexpat.m4 | ||
| nls.m4 | ||
| openssl.m4 | ||
| po.m4 | ||
| progtest.m4 | ||
| stdint_h.m4 | ||
| uintmax_t.m4 | ||
| ulonglong.m4 | ||