From f451cc936991e5095b1cb02262b5b0a9f12693f1 Mon Sep 17 00:00:00 2001 From: jvech Date: Sun, 8 Sep 2024 09:25:50 -0500 Subject: fix: memory leaks fixed --- src/nn.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nn.c') diff --git a/src/nn.c b/src/nn.c index 19076bb..e905bf3 100644 --- a/src/nn.c +++ b/src/nn.c @@ -170,6 +170,9 @@ void nn_network_train( free(weights); free(biases); + free(input_random); + free(labels_random); + return; nn_network_train_error: perror("nn_network_train() Error"); -- cgit v1.2.3-70-g09d2