fix: add missing UndoAction fields and null checks to prevent memory corruption
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
@@ -112,7 +112,7 @@ double transport_get_bpm(Transport *transport) {
|
||||
|
||||
int transport_process(Transport *transport, jack_nframes_t nframes,
|
||||
void *midi_clock_in_buf, void *midi_clock_out_buf) {
|
||||
if (!transport) return 0;
|
||||
if (!transport) return -1; // ADD THIS
|
||||
|
||||
int clock_ticks_generated = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user