mirror of
				https://github.com/Gnucash/gnucash.git
				synced 2025-02-25 18:55:30 -06:00 
			
		
		
		
	More memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20041 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
		@@ -97,10 +97,13 @@ void gnc_register_kvp_option_generator(QofIdType id_type, SCM generator);
 | 
			
		||||
  {
 | 
			
		||||
    SCM key_scm = SCM_CAR (path_scm);
 | 
			
		||||
    char *key;
 | 
			
		||||
    gchar* gkey;
 | 
			
		||||
    if (!scm_is_string (key_scm))
 | 
			
		||||
      break;
 | 
			
		||||
    key = g_strdup (scm_to_locale_string (key_scm));
 | 
			
		||||
    path = g_list_prepend (path, key);
 | 
			
		||||
    key = scm_to_locale_string (key_scm);
 | 
			
		||||
    gkey = g_strdup (key);
 | 
			
		||||
    gnc_free_scm_locale_string(key);
 | 
			
		||||
    path = g_list_prepend (path, gkey);
 | 
			
		||||
    path_scm = SCM_CDR (path_scm);
 | 
			
		||||
  }
 | 
			
		||||
  $1 = g_list_reverse (path);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user