added all missing deallocations (hopefully)
This commit is contained in:
parent
69bc2caec6
commit
f09db993e7
@ -34,6 +34,7 @@ void checkVersion(inputFlags flags)
|
|||||||
|
|
||||||
//CLEANUP
|
//CLEANUP
|
||||||
curl_easy_cleanup(curl);
|
curl_easy_cleanup(curl);
|
||||||
|
free(curl);
|
||||||
fclose(fileBuffer);
|
fclose(fileBuffer);
|
||||||
|
|
||||||
while (access(VERSIONS_NAME, R_OK) != 0)
|
while (access(VERSIONS_NAME, R_OK) != 0)
|
||||||
@ -86,6 +87,10 @@ void checkVersion(inputFlags flags)
|
|||||||
//WAIT FOR 5 SECONDS
|
//WAIT FOR 5 SECONDS
|
||||||
sleep(5);
|
sleep(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//DEALLOCATION
|
||||||
|
free(parsedJson);
|
||||||
|
free(active);
|
||||||
}
|
}
|
||||||
|
|
||||||
void generateTextKeyChain(char key[], int *textKeyChain, int textKeyChainSize)
|
void generateTextKeyChain(char key[], int *textKeyChain, int textKeyChainSize)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user