mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Don't forget to free the buffer
This commit is contained in:
1 parent
4c782a67ed
commit
330c733958
1 file changed
+1
Vendored
+1
@@ -124,6 +124,7 @@ static bool codeSignatureExtendedAttributeExists(const FTSENT *ent)
|
||||
if (strncmp("com.apple.cs.CodeDirectory", attribute, length) == 0 ||
|
||||
strncmp("com.apple.cs.CodeRequirements", attribute, length) == 0 ||
|
||||
strncmp("com.apple.cs.CodeSignature", attribute, length) == 0) {
|
||||
free(buffer);
|
||||
return true;
|
||||
}
|
||||
startCharacterIndex = characterIndex + 1;
|
||||
|
||||
Reference in new issue
Block a user