diff --git a/src/gnss.c b/src/gnss.c index 898c0da..741caa9 100644 --- a/src/gnss.c +++ b/src/gnss.c @@ -238,7 +238,10 @@ static void fetch_assistance_data(struct EG25Manager *manager) } g_message("Fetching GNSS assistance data from %s was successfull", url); + + fflush(tmp_file); curl_easy_cleanup(curl); + g_free(url); /* Go to the next step */ manager->gnss_assistance_step++;