1
Index: src/wildmidi_lib.c
2
===================================================================
3
--- wildmidi/src/wildmidi_lib.c (revision 39)
4
+++ wildmidi/src/wildmidi_lib.c (working copy)
6
first_handle->next = NULL;
8
tmp_handle = first_handle;
10
if (tmp_handle->next != NULL) {
11
while (tmp_handle->next != NULL)
12
tmp_handle = tmp_handle->next;
14
tmp_handle->next = malloc(sizeof(struct _hndl));
15
if (tmp_handle->next == NULL) {
16
WM_ERROR(__FUNCTION__, __LINE__, WM_ERR_MEM," to parse midi data", errno);
17
+ free(tmp_trackdata);