Commit 9a799304 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winecoreaudio: Fix a potential leak. (Clang).

parent 3ececfd2
......@@ -810,8 +810,8 @@ void MIDIIn_SendMessage(MIDIMessage msg)
{
CFMessagePortSendRequest(messagePort, 0, data, 0.0, 0.0, NULL, NULL);
CFRelease(data);
CFRelease(messagePort);
}
CFRelease(messagePort);
}
static CFDataRef MIDIIn_MessageHandler(CFMessagePortRef local, SInt32 msgid, CFDataRef data, void *info)
......
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