aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-14 15:56:53 +0100
committerMax Kellermann <max@duempel.org>2014-12-14 16:02:47 +0100
commita543627abd19f321ddd4259e222e6437e8312417 (patch)
tree9a0494216cc13a0785d972f762c556c0718e3335 /NEWS
parent80f2ba7fca533de38575bdaf737ea89284ed2b7b (diff)
downloadmpd-a543627abd19f321ddd4259e222e6437e8312417.tar.gz
mpd-a543627abd19f321ddd4259e222e6437e8312417.tar.xz
mpd-a543627abd19f321ddd4259e222e6437e8312417.zip
lib/nfs/Connection: fix memory leak (and assertion failure)
nfs_destroy_context() will invoke all pending callbacks with err==-EINTR. In CancellableCallback::Callback(), this will invoke NfsConnection::DeferClose(), which however is only designed to be called from nfs_service(). In non-debug mode, this will leak memory because nfs_close_async() is never called. Workaround: before nfs_destroy_context(), invoke nfs_close_async() on all pending file handles.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c1f967b74..6e83245c4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
ver 0.19.7 (not yet released)
* input
- nfs: fix crash while canceling a failing file open operation
+ - nfs: fix memory leak on connection failure
* playlist
- don't skip non-existent songs in "listplaylist"
* fix memory allocator bug on Windows