[Easytag-mailing] Patch for EasyTAG 1.99.6 - Browser entry fix!



Hi,

Due to a freed data at wrong time, when pressing the enter key in the "browser entry" (to load the directory and to add it to the history list of the combo box) will be stored a wrong string ;-(

Here is a patch to fix the problem.

If "wrong" paths have been already saved, you have to edit the file .easytag/browser_path.history and remove them manually.

Sorry for this stupid bug.

Regards,
Jerome



Jérôme COUDERC wrote, the 26.06.2005 00:13 :

Hi,


Before to take a break during days in the summer ;-) a new developping version is available, including mainly bug fixes of the previous version.

So, pass good holidays ;-)

The sources are available from the habitual page
http://easytag.sourceforge.net


What is new (since 1.99.5) ?
============================

    * Added scanner code '%d' for disc number,
    * Configuration files updated to support ppc64 (thanks to Andreas
      Jochens),
    * History list in comboboxes limited to 15 items,
    * Fixed tab focus order in the 'Tag' area to avoid auto handling
      from gtk (may changes on some systems),
    * Fixed problem when writing playlist after renaming a directory,
    * Fixed string encoding when writing playlist with the scanner,
    * Fixed encoding of the default path to file chosen from
      preferences,
    * Fixed problem of different file name sorting between file list and
      cddb track name list,
    * Fixed displaying number of files located in a directory with UTF-8
      characters,
    * Spanish translation updated (thanks to Francisco Javier F.
      Serrador),
    * Italian translation updated (thanks to Kostantino),
    * German translation updated (thanks to Götz Waschk).



Regards,
Jerome




--
EasyTAG - Tag editor for MP3 and Ogg Vorbis files
http://easytag.sourceforge.net
--
Jerome COUDERC <easytag gmail com>

diff -ruN easytag-1.99.6.orig/src/misc.c easytag-1.99.6/src/misc.c
--- easytag-1.99.6.orig/src/misc.c	2005-06-25 23:10:43.000000000 +0200
+++ easytag-1.99.6/src/misc.c	2005-06-28 22:21:23.994913544 +0200
@@ -367,7 +367,6 @@
         }
         g_free(text);
     }
-    g_free(string);
 
     // Limit list size to HISTORY_MAX_LENGTH
     while (gtk_tree_model_iter_n_children(GTK_TREE_MODEL(liststore),NULL) > HISTORY_MAX_LENGTH)
@@ -379,6 +378,7 @@
         }
     }
 
+    g_free(string);
     return TRUE;
 
 #else
@@ -401,7 +401,6 @@
             g_free(text);
         } while(gtk_tree_model_iter_next(GTK_TREE_MODEL(liststore), &iter));
     }
-    g_free(string);
 
     // We add the string to the beginning of the list store
     gtk_list_store_prepend(liststore, &iter);
@@ -417,6 +416,7 @@
         }
     }
 
+    g_free(string);
     return TRUE;
 #endif
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]