GNOME Bugzilla – Bug 646876
Free MenuPopulateData struct in all the cases.
Last modified: 2011-04-15 09:16:05 UTC
For clarity factor out create/free functions.
Created attachment 185249 [details] [review] Free MenuPopulateData struct in all the cases.
Review of attachment 185249 [details] [review]: Looks fine to me, except for the recursion. ::: gtk/gtkrecentchoosermenu.c @@ +975,3 @@ + MenuPopulateData *pdata; + + pdata = create_menu_populate_data (menu); This looks dangerously recursive...
Created attachment 185257 [details] [review] patch oops, sorry I forgot to commit --amend before attaching the patch
(In reply to comment #2) > Looks fine to me, except for the recursion. I pushed the fixed patch to master and 3-0