Browse Source
Merge pull request #22 from crclark96/crclark96-memleak-patch
free malloc'd memory at end of file
pull/36/head
Lewis Van Winkle
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
example4.c
|
|
@ -109,6 +109,8 @@ int main(int argc, char *argv[]) |
|
|
|
|
|
|
|
|
|
|
|
genann_free(ann); |
|
|
|
free(input); |
|
|
|
free(class); |
|
|
|
|
|
|
|
return 0; |
|
|
|
} |