Skip to content

Commit a73a237

Browse files
committed
c api: fix minor error in the example
1 parent 2937474 commit a73a237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/c_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ int main(void)
176176
libremidi_midi_out_handle* midi_out = NULL;
177177
ret = libremidi_midi_out_new(&midi_out_conf, &midi_out_api_conf, &midi_out);
178178
if (ret != 0)
179-
goto free_midi_in;
179+
goto free_midi_out;
180180

181181
for (int i = 0; i < 100; i++)
182182
sleep_ms(1000);

0 commit comments

Comments
 (0)