Commit 32a63808 authored by Claire Girka's avatar Claire Girka Committed by Alexandre Julliard

winepulse: Fix memory leak in pulse_create_stream in some error cases.

parent dee45f9b
......@@ -1188,8 +1188,8 @@ exit:
if (stream->stream) {
pa_stream_disconnect(stream->stream);
pa_stream_unref(stream->stream);
free(stream);
}
free(stream);
}
pulse_unlock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment