19 Feb
2008
19 Feb
'08
3:41 p.m.
I like this patch, excellent work. I think I found a little memleak...
+ alpm_list_t *newversion = checknewversion(); + if(newversion) { + printf(_(":: the following packages should be upgraded first :\n")); + list_display(" ", newversion); + if(yesno(_(":: Do you want to cancel the current operation\n" + ":: and upgrade these packages now? [Y/n] "))) { + FREELIST(targs); + targs = newversion; + config->flags = 0; + config->op_s_upgrade = 0; + } + printf("\n"); + }
If I answer with no, newversion list isn't freed. Bye ---------------------------------------------------- SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu This mail sent through IMP: http://horde.org/imp/