added missing textKeyChain deallocation
This commit is contained in:
parent
7015a58762
commit
e60c05a59f
@ -89,5 +89,8 @@ outputFlags decryptText(char *text, char *key, inputFlags flags)
|
|||||||
key //USED KEY
|
key //USED KEY
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//DEALLOCATION
|
||||||
|
free(textKeyChain);
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
@ -102,5 +102,8 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags)
|
|||||||
key //GENERATED/USED KEY
|
key //GENERATED/USED KEY
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//DEALLOCATION
|
||||||
|
free(textKeyChain);
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user