diff --git a/Source/Installer/AppDelegate.m b/Source/Installer/AppDelegate.m index 6a327950..f058f5ab 100644 --- a/Source/Installer/AppDelegate.m +++ b/Source/Installer/AppDelegate.m @@ -202,9 +202,11 @@ static const NSTimeInterval kTranslocationRemovalDeadline = 60.0; entryCount = getfsstat(bufs, entryCount * entrySize, MNT_NOWAIT); for (int i = 0; i < entryCount; i++) { if (!strcmp(bundleAbsPath, bufs[i].f_mntfromname)) { + free(bufs); return YES; } } + free(bufs); return NO; }