[Gnucash-changes] bugfix: failed to update list of frames correctly when the first item

Linas Vepstas linas at cvs.gnucash.org
Sat Jul 3 14:38:38 EDT 2004


Log Message:
-----------
bugfix: failed to update list of frames correctly when the 
first item in the list was delected.  This could lead to 
infinite loops.

Modified Files:
--------------
    gnucash/src/engine:
        kvp-util.c

Revision Data
-------------
Index: kvp-util.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/kvp-util.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -Lsrc/engine/kvp-util.c -Lsrc/engine/kvp-util.c -u -r1.13 -r1.14
--- src/engine/kvp-util.c
+++ src/engine/kvp-util.c
@@ -152,7 +152,7 @@
     {
       listhead = g_list_remove_link (listhead, node);
       g_list_free_1 (node);
-      kvp_value_replace_glist_nc (va, listhead);
+      kvp_value_replace_glist_nc (arr, listhead);
       kvp_value_replace_frame_nc (va, NULL);
       kvp_value_delete (va);
       return;


More information about the gnucash-changes mailing list