gnucash maint: Minor corrections

Geert Janssens gjanssens at code.gnucash.org
Fri Apr 25 10:48:53 EDT 2014


Updated	 via  https://github.com/Gnucash/gnucash/commit/c2c72eaa (commit)
	from  https://github.com/Gnucash/gnucash/commit/54095654 (commit)



commit c2c72eaaa2c56ef17ed768ccc42ef8b82cf2e26b
Author: Michalis Kamprianis <michalis at linuxmail.org>
Date:   Thu Apr 24 22:34:16 2014 +0200

    Minor corrections
    
    correction in version number in NEWS history re 2.6.3 and 2.6.2
    deletion of duplicate lines in src/engine/gnc-commodity.c
    
    	modified:   NEWS
    	modified:   src/engine/gnc-commodity.c

diff --git a/NEWS b/NEWS
index 8adb66d..ae09223 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
 Version history:
 ------- -------
 2.6.3 - 30 March 2014
-       The GnuCash development team proudly announces GnuCash 2.6.1,
+       The GnuCash development team proudly announces GnuCash 2.6.3,
        the latest stable release of the GnuCash Free Accounting
        Software.
 
@@ -28,7 +28,7 @@ Version history:
        Translations Updated: Catalan, Danish, Italian
 
 2.6.2 - 2 March 2014
-       The GnuCash development team proudly announces GnuCash 2.6.1,
+       The GnuCash development team proudly announces GnuCash 2.6.2,
        the latest stable release of the GnuCash Free Accounting
        Software.
 
diff --git a/src/engine/gnc-commodity.c b/src/engine/gnc-commodity.c
index 3552180..77c643b 100644
--- a/src/engine/gnc-commodity.c
+++ b/src/engine/gnc-commodity.c
@@ -938,8 +938,6 @@ gnc_commodity_copy(gnc_commodity * dest, const gnc_commodity *src)
     gnc_commodity_set_quote_tz (dest, src_priv->quote_tz);
     kvp_frame_delete (dest->inst.kvp_data);
     dest->inst.kvp_data = kvp_frame_copy (src->inst.kvp_data);
-    kvp_frame_delete (dest->inst.kvp_data);
-    dest->inst.kvp_data = kvp_frame_copy (src->inst.kvp_data);
 }
 
 gnc_commodity *



Summary of changes:
 NEWS                       | 4 ++--
 src/engine/gnc-commodity.c | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)



More information about the gnucash-changes mailing list