mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:30:57 +00:00
winecoreaudio: Fix a potential leak. (Clang).
This commit is contained in:
parent
3ececfd2a5
commit
9a7993045e
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue