mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-12-11 00:21:24 +01:00
fix(solutions): memory issues thanks to -fsanitize=address flag with gcc
This commit is contained in:
@@ -6,5 +6,6 @@
|
||||
int main() {
|
||||
char *string = input();
|
||||
printf("Hello, %s!\n", string);
|
||||
free(string);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user