fix leak of xmms config struct in init
authorJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 19 May 2003 04:27:13 +0000 (04:27 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Mon, 19 May 2003 04:27:13 +0000 (04:27 +0000)
src/plugin_xmms/plugin.c

index 64028d8..9d64738 100644 (file)
@@ -182,6 +182,8 @@ void FLAC_XMMS__init()
                flac_cfg.output.resolution.replaygain.bps_out = 16;
 
        decoder_ = FLAC__file_decoder_new();
+
+       xmms_cfg_free(cfg);
 }
 
 int FLAC_XMMS__is_our_file(char *filename)