Work in progress.

merge-requests/1/head
Teuniz 2017-12-29 10:55:27 +01:00
rodzic 625eb93297
commit 09a5eccb39
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -416,6 +416,8 @@ int edfopen_file_readonly(const char *path, struct edf_hdr_struct *edfhdr, int r
free(hdr); free(hdr);
hdr = NULL; hdr = NULL;
hdrlist[edfhdr->handle] = NULL; hdrlist[edfhdr->handle] = NULL;
free(annotationslist[edfhdr->handle]);
annotationslist[edfhdr->handle] = NULL;
return -1; return -1;
} }
@ -508,6 +510,10 @@ int edfclose_file(int handle)
hdrlist[handle] = NULL; hdrlist[handle] = NULL;
free(write_annotationslist[handle]);
write_annotationslist[handle] = NULL;
edf_files_open--; edf_files_open--;
return err; return err;

Wyświetl plik

@ -35,7 +35,7 @@
#define PROGRAM_NAME "DSRemote" #define PROGRAM_NAME "DSRemote"
#define PROGRAM_VERSION "0.35_1712271629" #define PROGRAM_VERSION "0.35_1712291053"
#define MAX_PATHLEN 4096 #define MAX_PATHLEN 4096