diff -Naur wmmixer-2.0b4/src/dockapp.cc wmmixer-2.0b4.new/src/dockapp.cc --- wmmixer-2.0b4/src/dockapp.cc 2003-03-12 21:54:16.000000000 +0100 +++ wmmixer-2.0b4.new/src/dockapp.cc 2006-09-12 14:36:27.000000000 +0200 @@ -24,7 +24,7 @@ { theme_ = new Theme(theme_file); theme_->initImages(getXHandler()); - icons_ = new unsigned[theme_->icon_num_]; + icons_ = new unsigned[mixer->getNumChannels()]; } catch(InvalidThemeException& e) { diff -Naur wmmixer-2.0b4/src/theme.cc wmmixer-2.0b4.new/src/theme.cc --- wmmixer-2.0b4/src/theme.cc 2003-03-12 21:48:20.000000000 +0100 +++ wmmixer-2.0b4.new/src/theme.cc 2006-09-12 14:33:35.000000000 +0200 @@ -33,8 +33,6 @@ } - delete config; - config = NULL; }