From: David ‘Bombe’ Roden Date: Sat, 5 Jul 2008 19:27:13 +0000 (+0200) Subject: free line after parsing link X-Git-Tag: 0.1~25 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b85b2b73e8493ad0f379da96f87d0d3e12c56413;p=ecparse.git free line after parsing link --- 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 { }