~rockstar/ubuntuone-ios-music/airplay-support

« back to all changes in this revision

Viewing changes to categories/UIDevice+Hardware.m

  • Committer: Tarmac
  • Author(s): Paul Hummer
  • Date: 2012-09-21 01:22:10 UTC
  • mfrom: (233.1.25 sort-sso)
  • Revision ID: tarmac-20120921012210-mbflcb9482ec381w
[r=urbanape] Add dependency on UbuntuOneAuthKit

Show diffs side-by-side

added added

removed removed

Lines of Context:
578
578
        printf("Could not allocate memory. error!\n");
579
579
        return NULL;
580
580
    }
581
 
        
 
581
    
582
582
    if (sysctl(mib, 6, buf, &len, NULL, 0) < 0) {
583
583
        printf("Error: sysctl, take 2");
 
584
        free(buf);
584
585
        return NULL;
585
586
    }
586
587