Skip to content

Fix on test C03 ex05 - #20

Open
kikogameiro wants to merge 1 commit into
k11q:mainfrom
kikogameiro:C03ex05
Open

kikogameiro wants to merge 1 commit into
k11q:mainfrom
kikogameiro:C03ex05

Conversation

@kikogameiro

Copy link
Copy Markdown

Mini was having trouble running the tests on C03 ex05
Changed line 57 to
char *dest = malloc(strlen(tests[i].dest) + 1);
and added
free(dest) at the end of the function.

This should allocate enough space for the string stored in tests[i].dest .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant