• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Leaks in CFPropertyListCreateFromXMLData and CFFileURLCreateDataAndPropertiesFromResource?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Leaks in CFPropertyListCreateFromXMLData and CFFileURLCreateDataAndPropertiesFromResource?


  • Subject: Leaks in CFPropertyListCreateFromXMLData and CFFileURLCreateDataAndPropertiesFromResource?
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 26 Mar 2003 15:35:51 +0100

This is what I'm seeing using the leaks tools.

The leaks are occurring apparently in CFPropertyListCreateFromXMLData when it needs to parse a CFData and for CFFileURLCreateDataAndPropertiesFromResource I don't have an opinion.

Leak: 0x000c3590 size=494 string '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist ve'
Call stack: [thread 20e0bf]: | 0x0 | start | _start | main | ... | CFURLCreateDataAndPropertiesFromResource | _CFFileURLCreateDataAndPropertiesFromResource | _CFReadBytesFromFile | CFAllocatorAllocate | malloc_zone_malloc

Leak: 0x000b97b0 size=78
0x00000000 0x00000000 0x00000000 0x00000001
0x00000000 0x00000000 0xa1b1c1d3 0xa1b1c1d3
0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3 0x73686f6c
0x642e706c 0x69737400 0xa1b1c1d3 0xa1b1c1d3
0xa1b1c1d3 0xa1b1c1d3 0xa1b1c1d3
Call stack: [thread 20e08b]: | 0x0 | start | _start | main | ... | _CFPropertyListCreateFromXMLData | parsePListTag | parseArrayTag | parseDataTag | __CFPLDataDecode | CFAllocatorAllocate | malloc_zone_malloc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • NSTableView/NSPopUpButtonCell
      • From: Phillip Mills <email@hidden>
  • Prev by Date: Re: [ 1/2OT] CVS gui client for X - Results of the poll
  • Next by Date: Declared or not?
  • Previous by thread: Re: [ 1/2OT] CVS gui client for X - Results of the poll
  • Next by thread: NSTableView/NSPopUpButtonCell
  • Index(es):
    • Date
    • Thread