projects
/
ecparse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reserve enough memory
[ecparse.git]
/
CollectionReader.cpp
diff --git
a/CollectionReader.cpp
b/CollectionReader.cpp
index
ac33a7e
..
10cd9dc
100644
(file)
--- 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 {
}