adds a free()

This commit is contained in:
SuperNovaa41 2024-01-13 21:35:35 -05:00
parent e65e5684de
commit 5df221c23a

View File

@ -119,6 +119,7 @@ int main(int argc, char* argv[])
else if (options[0] == 'r') else if (options[0] == 'r')
print_book(&new_book); print_book(&new_book);
free(new_book.authors);
return 0; return 0;
} }