Author: locilka Date: Fri Feb 26 14:48:35 2010 New Revision: 61044 URL: http://svn.opensuse.org/viewcvs/yast?rev=61044&view=rev Log: - Calling ProductLicense cleanup before leaving the license dialog (BNC #581933). - 2.17.70 Modified: branches/SuSE-Code-11-SP1-Branch/packager/VERSION branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes branches/SuSE-Code-11-SP1-Branch/packager/src/modules/ProductLicense.ycp Modified: branches/SuSE-Code-11-SP1-Branch/packager/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/packager/VERSION?rev=61044&r1=61043&r2=61044&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/packager/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/packager/VERSION Fri Feb 26 14:48:35 2010 @@ -1 +1 @@ -2.17.69 +2.17.70 Modified: branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes?rev=61044&r1=61043&r2=61044&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes Fri Feb 26 14:48:35 2010 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Feb 26 14:46:32 CET 2010 - locilka@suse.cz + +- Calling ProductLicense cleanup before leaving the license dialog + (BNC #581933). +- 2.17.70 + +------------------------------------------------------------------- Wed Jan 27 15:41:46 UTC 2010 - lslezak@suse.cz - repositories - added NFSv4 support (fate#306451), don't loose Modified: branches/SuSE-Code-11-SP1-Branch/packager/src/modules/ProductLicense.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/packager/src/modules/ProductLicense.ycp?rev=61044&r1=61043&r2=61044&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/packager/src/modules/ProductLicense.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/packager/src/modules/ProductLicense.ycp Fri Feb 26 14:48:35 2010 @@ -963,6 +963,15 @@ } /** + * Generic cleanup + */ +void CleanUp() { + // BNC #581933: All license IDs are cached while the module is in memory. + // Removing them when leaving the license dialog. + license_ids = []; +} + +/** * Ask user to confirm license agreement * @param src_id integer repository to get the license from. * If set to 'nil', the license is considered to belong to a base product @@ -1035,6 +1044,8 @@ Wizard::CloseDialog(); } + CleanUp(); + return ret; } @@ -1158,6 +1169,8 @@ Wizard::CloseDialog(); } + CleanUp(); + return ret; } @@ -1221,6 +1234,8 @@ } } + CleanUp(); + return true; } @@ -1250,6 +1265,8 @@ } } + CleanUp(); + return true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org