X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=CollectionReader.cpp;h=10cd9dcd2aa4464b831f607ec08c881dd6d67f7d;hb=80ddd7c4c2b1e9965df13b552538415d3caf8a83;hp=ac33a7ef44441f06f8138c18bc8765037d19ac22;hpb=b11d90aaee4332e80c2f308113899fddebf2643a;p=ecparse.git diff --git a/CollectionReader.cpp b/CollectionReader.cpp index ac33a7e..10cd9dc 100644 --- a/CollectionReader.cpp +++ b/CollectionReader.cpp @@ -53,6 +53,7 @@ ED2KLink* CollectionReader::getNextLink() { growingBuffer.cut(); GlobalSettings::isVerbose() && fprintf(stderr, "[%s:%d] got line: %s\n", __FILE__, __LINE__, line); ED2KLink* ed2kLink = ED2KLink::parseED2KLink(line); + free(line); return ed2kLink; } else { }