adds a missing free a \n
This commit is contained in:
parent
612224a100
commit
8e78e89f3b
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user