Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e6389ff5
Commit
e6389ff5
authored
Jul 07, 2016
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client/ClientRead: call Break() before Close()
Referencing the attribute "partition" is illegal after Close(), because Close() deletes "this".
parent
b46cf57d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
NEWS
NEWS
+1
-1
ClientRead.cxx
src/client/ClientRead.cxx
+1
-1
No files found.
NEWS
View file @
e6389ff5
...
...
@@ -5,7 +5,7 @@ ver 0.19.17 (not yet released)
* fix spurious seek error "Failed to allocate silence buffer"
* replay gain: fix "replay_gain_handler mixer" setting
* DSD: use 0x69 as silence pattern
* fix use-after-free bug on "close"
* fix use-after-free bug on "close"
and "kill"
ver 0.19.16 (2016/06/13)
* faster seeking
...
...
src/client/ClientRead.cxx
View file @
e6389ff5
...
...
@@ -52,8 +52,8 @@ Client::OnSocketInput(void *data, size_t length)
break
;
case
CommandResult
:
:
KILL
:
Close
();
partition
.
instance
.
event_loop
->
Break
();
Close
();
return
InputResult
::
CLOSED
;
case
CommandResult
:
:
FINISH
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment