mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 12:34:24 +00:00
fix getpost memory leak. fixes miguelfreitas/twister-html#161
This commit is contained in:
parent
adbdd709b4
commit
3931001e9b
@ -954,6 +954,7 @@ namespace libtorrent
|
||||
printf("piece read error (database corrupt?) - setting we_dont_have(%d)\n", j.piece);
|
||||
we_dont_have(j.piece);
|
||||
}
|
||||
if (j.buffer) m_ses.free_disk_buffer(j.buffer);
|
||||
(*reqs)--;
|
||||
|
||||
if (!(*reqs)) cond->notify_all();
|
||||
|
@ -8,7 +8,7 @@
|
||||
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
|
||||
#define CLIENT_VERSION_MAJOR 0
|
||||
#define CLIENT_VERSION_MINOR 9
|
||||
#define CLIENT_VERSION_REVISION 20
|
||||
#define CLIENT_VERSION_REVISION 21
|
||||
#define CLIENT_VERSION_BUILD 0
|
||||
|
||||
// Set to true for release, false for prerelease or test build
|
||||
|
Loading…
x
Reference in New Issue
Block a user