summaryrefslogtreecommitdiffstats
path: root/src/GladeFile.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-23 19:51:43 +0000
committerDavid Robillard <d@drobilla.net>2008-02-23 19:51:43 +0000
commitbd34ee943e1041cfff7d4bd896bb4bb2c09a546a (patch)
tree8060a4f04a13cc493be76730df6abaf007a4b04b /src/GladeFile.hpp
parent2fd851eed1fedb7e27ac9134c4b9e7d9e2206d11 (diff)
downloadpatchage-bd34ee943e1041cfff7d4bd896bb4bb2c09a546a.tar.gz
patchage-bd34ee943e1041cfff7d4bd896bb4bb2c09a546a.tar.bz2
patchage-bd34ee943e1041cfff7d4bd896bb4bb2c09a546a.zip
Plug several memory leaks.
Reduce Patchage memory consumption (shrink (stupid) alsa thread stack size). git-svn-id: http://svn.drobilla.net/lad/patchage@1161 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/GladeFile.hpp')
-rw-r--r--src/GladeFile.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/GladeFile.hpp b/src/GladeFile.hpp
index cc0954c..ad334f1 100644
--- a/src/GladeFile.hpp
+++ b/src/GladeFile.hpp
@@ -27,8 +27,6 @@
class GladeFile {
public:
static Glib::RefPtr<Gnome::Glade::Xml> open(const std::string& base_name) {
- Glib::RefPtr<Gnome::Glade::Xml> xml;
-
// Check for the .glade file in current directory
std::string glade_filename = std::string("./").append(base_name).append(".glade");
std::ifstream fs(glade_filename.c_str());