diff --git a/src/csv.c b/src/csv.c index 9aed956..a846230 100644 --- a/src/csv.c +++ b/src/csv.c @@ -62,7 +62,7 @@ void remove_line_from_file(int id_to_remove) file_exists = access(FILE_NAME, F_OK); if (0 != file_exists) { - fprintf(stderr, "%s does not exist!", FILE_NAME); + fprintf(stderr, "%s does not exist!\n", FILE_NAME); exit(EXIT_FAILURE); } diff --git a/src/main.c b/src/main.c index 147ffdf..d52b938 100644 --- a/src/main.c +++ b/src/main.c @@ -54,6 +54,7 @@ void do_ISBN_get(char* argv[]) // we need to free these strings free(get_output.buf); free(new_book.authors); + free(new_book.image_url); } void process_args(char* argv[])