GNOME Bugzilla – Bug 660925
ShellContactSystem: Make address search actually work
Last modified: 2011-10-05 19:10:13 UTC
The code was not dealing properly with what folks returns for im and email addresses.
Created attachment 198247 [details] [review] ShellContactSystem: Make address search actually work
Review of attachment 198247 [details] [review]: Looks good, but I'm pretty sure the existing code is leaking, so let's fix that. ::: src/shell-contact-system.c @@ +189,3 @@ while (gee_iterator_next (addrs_iter)) { + FolksImFieldDetails *field = gee_iterator_get (addrs_iter); I think gee_iterator_get() is transfer-full - apparently the existing code got it wrong as well, but this looks like a good opportunity to fix it. @@ +209,3 @@ while (gee_iterator_next (addrs_iter)) { + FolksEmailFieldDetails *field = gee_iterator_get (addrs_iter); Dto.
Created attachment 198351 [details] [review] ShellContactSystem: Make address search actually work Fixed leaks.
Review of attachment 198351 [details] [review]: Looks safe enough to me.
Attachment 198351 [details] pushed as 472b20d - ShellContactSystem: Make address search actually work