From: <rl...@us...> - 2006-04-24 20:51:48
|
Revision: 16092 Author: rlaager Date: 2006-04-24 13:51:45 -0700 (Mon, 24 Apr 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16092&view=rev Log Message: ----------- Resolve (the other half of) CID 103: "Variable "this_buddy" tracked as NULL was passed to a function that dereferences it." Modified Paths: -------------- trunk/src/gtkblist.c Modified: trunk/src/gtkblist.c =================================================================== --- trunk/src/gtkblist.c 2006-04-24 20:41:15 UTC (rev 16091) +++ trunk/src/gtkblist.c 2006-04-24 20:51:45 UTC (rev 16092) @@ -5384,7 +5384,7 @@ presence_cmp = gaim_presence_compare( gaim_buddy_get_presence(my_buddy), - gaim_buddy_get_presence(this_buddy)); + this_buddy ? gaim_buddy_get_presence(this_buddy) : NULL); if (this_buddy == NULL || (presence_cmp < 0 || This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |