Return value from main - suppress warning
Remove C99 style for-loop (suppress warning)
Add free function for s3_content
Free date and url that were allocated (valgrind)