kopia lustrzana https://gitlab.com/Teuniz/DSRemote
Work in progress.
rodzic
625eb93297
commit
09a5eccb39
6
edflib.c
6
edflib.c
|
@ -416,6 +416,8 @@ int edfopen_file_readonly(const char *path, struct edf_hdr_struct *edfhdr, int r
|
|||
free(hdr);
|
||||
hdr = NULL;
|
||||
hdrlist[edfhdr->handle] = NULL;
|
||||
free(annotationslist[edfhdr->handle]);
|
||||
annotationslist[edfhdr->handle] = NULL;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
@ -508,6 +510,10 @@ int edfclose_file(int handle)
|
|||
|
||||
hdrlist[handle] = NULL;
|
||||
|
||||
free(write_annotationslist[handle]);
|
||||
|
||||
write_annotationslist[handle] = NULL;
|
||||
|
||||
edf_files_open--;
|
||||
|
||||
return err;
|
||||
|
|
2
global.h
2
global.h
|
@ -35,7 +35,7 @@
|
|||
|
||||
|
||||
#define PROGRAM_NAME "DSRemote"
|
||||
#define PROGRAM_VERSION "0.35_1712271629"
|
||||
#define PROGRAM_VERSION "0.35_1712291053"
|
||||
|
||||
#define MAX_PATHLEN 4096
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue