Fixed memory leak in transferSpec
Fixed memory leak in CFNumberRef
Use literals for better readability