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