Skip to content

Commit

Permalink
fixed windows issue
Browse files Browse the repository at this point in the history
  • Loading branch information
augustotx committed Oct 27, 2023
1 parent 865dd09 commit b061559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ int main()
}
printf("\nType in a valid amount (bigger than 0)\n");
}
free(str);

newfactory(factory, type);
calculate(factory, amount, resource_pool, factory_count, resourceNames, &worker_population, &university_worker_population, sewage);
results(resource_pool, factory_count, resourceNames, &worker_population, &university_worker_population, sewage);
free(factory);
free(resource_pool);
free(sewage);

input("\nPress enter/return to quit\n-> ", str, 15);
free(str);
return 0;
}

0 comments on commit b061559

Please sign in to comment.