mirror of https://github.com/codeplea/genann
Merge pull request #22 from crclark96/crclark96-memleak-patch
free malloc'd memory at end of file
This commit is contained in:
commit
1afe9688d1
|
@ -109,6 +109,8 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
|
|
||||||
genann_free(ann);
|
genann_free(ann);
|
||||||
|
free(input);
|
||||||
|
free(class);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue