Be sure to set variables to NULL after freeing them; doing otherwise can lead to...
commit0ea518837360cfc6ebb6a9a0b097ab52018ae24c
authorEvan Schoenberg <evan@adiumx.com>
Wed, 23 Jan 2008 12:12:52 +0000 (23 12:12 +0000)
committerEvan Schoenberg <evan@adiumx.com>
Wed, 23 Jan 2008 12:12:52 +0000 (23 12:12 +0000)
treebd29dd84a020e968b9b857992305cd4448f623fc
parentc4e75e631b5e27c70d156a6d304f71dd951662c6
Be sure to set variables to NULL after freeing them; doing otherwise can lead to referencing invalid memory later.  In this case, a particular series of callbacks (seen, for example, when signing onto Yahoo) could lead to a sourceInfo object remaining in the sourceInfoDict, keyed by a tag which has already been invalidated... and then an attempted double-free of its run loop source. Fixes #9026. Fixes #9025.

git-svn-id: svn://svn.adiumx.com/adium/trunk@22464 1c916fce-81e2-0310-a464-8ca513f45935
Plugins/Purple Service/adiumPurpleEventloop.m