Commit 4f2c80eb authored by saeed's avatar saeed
Browse files

modification

parent 0945614c
......@@ -205,8 +205,8 @@ int main(int argc, char *argv[]){
Data sshdata = {NULL, NULL};
Readsshcsv(filename, station, idbeg, idend, &sshdata);
free(sshdata.icontent);
free(sshdata.fcontent);
if (sshdata.icontent != NULL)free(sshdata.icontent);
if (sshdata.fcontent != NULL)free(sshdata.fcontent);
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment