added missing installCommand deallocation to auto-update
NOTE: function 'replaceWord' returns allocated text
This commit is contained in:
parent
7471d8eaa4
commit
c3e7caf4b3
@ -190,6 +190,8 @@ unsigned char checkVersion(inputFlags flags)
|
||||
//REMOVE versions.json - OTHERWISE WILL CAUSE SEGFAULT IN NEXT RUN
|
||||
remove(VERSIONS_NAME);
|
||||
|
||||
free(installCommand);
|
||||
|
||||
//CHECK FOR ERRORS
|
||||
if (installCode != 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user