Skip to content

Commit

Permalink
Fixed memory crasher.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNoodle committed May 7, 2014
1 parent 1d9a2d0 commit 95678ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/CoreFoundation/AquaticPrime.c
Expand Up @@ -377,7 +377,7 @@ CFDictionaryRef APCreateDictionaryForLicenseData(CFDataRef data)


// Check the hash against license blacklist
if (blacklist && CFArrayContainsValue(blacklist, CFRangeMake(0, CFArrayGetCount(blacklist)), hashCheck)) {
if (blacklist && CFArrayContainsValue(blacklist, CFRangeMake(0, CFArrayGetCount(blacklist)), hash)) {
cleanup();
return NULL;
}
Expand Down

0 comments on commit 95678ff

Please sign in to comment.