Skip to content

Commit

Permalink
[c] libremidi_midi_out_port_free() should reinterpret to output_port*. (
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno authored Sep 2, 2024
1 parent 924b1c2 commit 37ed7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libremidi/libremidi-c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int libremidi_midi_out_port_clone(

int libremidi_midi_out_port_free(libremidi_midi_out_port* port)
{
delete reinterpret_cast<libremidi::input_port*>(port);
delete reinterpret_cast<libremidi::output_port*>(port);
return 0;
}

Expand Down

0 comments on commit 37ed7fd

Please sign in to comment.