Mercurial > audlegacy
changeset 4099:b3830c28397e
Fix memory leak in add_plugin() (Bugzilla #28)
author | Jussi Judin <jjudin+audacious@iki.fi> |
---|---|
date | Wed, 19 Dec 2007 00:52:56 -0600 |
parents | fe0f7a72facd |
children | e1ecacef3789 |
files | src/audacious/pluginenum.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/pluginenum.c Wed Dec 19 00:50:46 2007 -0600 +++ b/src/audacious/pluginenum.c Wed Dec 19 00:52:56 2007 -0600 @@ -881,6 +881,7 @@ while (disabled[i]) { Plugin *plugintmp = plugin_get_plugin(disabled[i]); + g_free(disabled[i]); if (plugintmp) INPUT_PLUGIN(plugintmp)->enabled = FALSE; i++;