Skip to content

Commit

Permalink
add autoreleasepool
Browse files Browse the repository at this point in the history
  • Loading branch information
srirangav committed May 9, 2022
1 parent e37cadf commit 2ed4004
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions displayutil.m
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ int main (int argc, char** argv)
trueToneStatus_t ttStatus;
#endif /* NO_TT */

@autoreleasepool
{

/*
print a usage message if help mode was specified or if no mode was
specified
Expand Down Expand Up @@ -759,4 +762,6 @@ int main (int argc, char** argv)
argv[1]);
printUsage();
return gDisplayUtilECErr;

} /* @autoreleasepool */
}

0 comments on commit 2ed4004

Please sign in to comment.