Skip to content

Commit

Permalink
Fixed potential memory leak in UIDevice-Hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Grosam committed Nov 13, 2014
1 parent 60408fd commit a484001
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -46,7 +46,7 @@
displayScale = "1.00"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
buildConfiguration = "Release"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
Expand Down
1 change: 1 addition & 0 deletions Examples/iOS/JPBenchApp/UIDevice-Hardware.m
Expand Up @@ -237,6 +237,7 @@ - (NSString *) macaddress

if (sysctl(mib, 6, buf, &len, NULL, 0) < 0) {
printf("Error: sysctl, take 2");
free(buf);
return NULL;
}

Expand Down

0 comments on commit a484001

Please sign in to comment.