Mercurial > audlegacy
diff src/audacious/main.c @ 2682:c3cd6e47faf6 trunk
[svn] - make the evil 'reload plugins' button behave a bit better
author | giacomo |
---|---|
date | Mon, 16 Apr 2007 04:19:03 -0700 |
parents | 09b404d61ebd |
children | c2b82432c1b6 |
line wrap: on
line diff
--- a/src/audacious/main.c Sun Apr 15 20:00:32 2007 -0700 +++ b/src/audacious/main.c Mon Apr 16 04:19:03 2007 -0700 @@ -539,6 +539,19 @@ } void +bmp_config_free(void) +{ + gint i; + for (i = 0; i < ncfgsent; ++i) { + if ( *(bmp_strents[i].se_vloc) != NULL ) + { + g_free( *(bmp_strents[i].se_vloc) ); + *(bmp_strents[i].se_vloc) = NULL; + } + } +} + +void bmp_config_load(void) { ConfigDb *db;