Re: [Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2012-02-15 Thread charles
Review: Needs Fixing 1. we don't appear to use error except for testing for failure, and on failure list will be NULL anyway so that test is redundant. Let's remove the error variable altogether. 2. g_slist_free() is NULL-safe, so there if (list != NULL) test before g_slist_free(list) is

Re: [Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2012-02-15 Thread charles
Review: Approve Javier, I'm going to move your code into the standalone function to fix the 'evo' memory leak and merge. I hope you don't mind this -- I want to make sure your fix gets in before the deadline. -- https://code.launchpad.net/~jjardon/indicator-datetime/fix-836017/+merge/77932

Re: [Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2012-02-15 Thread Javier Jardón
Yeah, sure. I think is a good idea -- https://code.launchpad.net/~jjardon/indicator-datetime/fix-836017/+merge/77932 Your team ayatana-commits is subscribed to branch lp:indicator-datetime. ___ Mailing list: https://launchpad.net/~ayatana-commits Post

Re: [Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2011-10-04 Thread Javier Jardón
Review: Resubmit Ok, lets be super-sure to free the possible returned list -- https://code.launchpad.net/~jjardon/indicator-datetime/fix-836017/+merge/77932 Your team ayatana-commits is subscribed to branch lp:indicator-datetime. ___ Mailing list:

[Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2011-10-03 Thread Javier Jardón
Javier Jardón has proposed merging lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime. Requested reviews: Indicator Applet Developers (indicator-applet-developers) Related bugs: Bug #836017 in Indicator Date and Time: Add Event on Time Menu opens Evolution Setup Assistant

Re: [Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2011-10-03 Thread Andrea Cimitan
Review: Needs Fixing Hi Javier! You need to free the GSlist *accounts_list with: if (accounts_list) g_slist_free (accounts_list); before setting it to NULL. -- https://code.launchpad.net/~jjardon/indicator-datetime/fix-836017/+merge/77932 Your team ayatana-commits is subscribed to branch

Re: [Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2011-10-03 Thread Javier Jardón
Review: Resubmit Thanks for the review Andrea, Could you take a look to this new patch? -- https://code.launchpad.net/~jjardon/indicator-datetime/fix-836017/+merge/77932 Your team ayatana-commits is subscribed to branch lp:indicator-datetime. ___

Re: [Ayatana-commits] [Merge] lp:~jjardon/indicator-datetime/fix-836017 into lp:indicator-datetime

2011-10-03 Thread Andrea Cimitan
Review: Needs Information It depends... if error is != NULL it enters the first if but not the second, so accounts_list is set to NULL and not free'd. Now, it could be that if error is != NULL then accounts_list is NULL and it does not need to be free'd, so your code is not leaking. However,