Browse Source

Fix memory allocation in midiseq.c

Reported via http://trac.jackaudio.org/ticket/249 and already fixed in
jackd2.
pull/1/merge
Adrian Knoth 12 years ago
parent
commit
7c2f9ee5f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      midiseq.c

+ 1
- 1
midiseq.c View File

@@ -94,7 +94,7 @@ int main(int narg, char **args)
loop_index = 0;
num_notes = (narg - 3)/3;
note_frqs = malloc(num_notes*sizeof(unsigned char));
note_starts = malloc(num_notes*sizeof(unsigned char));
note_starts = malloc(num_notes*sizeof(jack_nframes_t));
note_lengths = malloc(num_notes*sizeof(jack_nframes_t));
loop_nsamp = atoi(args[2]);
for(i=0; i<num_notes; i++)


Loading…
Cancel
Save