Fix a memory leak on the Mac (gotta release those NSData objects...)