From efee2b08f575e2c216cffa6f08a928223ab2cedb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Jun 2006 04:48:20 +0000 Subject: Store memory bug fixes (multiple ref ptr's to the same object, bad), control panel fixes git-svn-id: http://svn.drobilla.net/lad/grauph@32 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/gtk/ControlInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/progs/gtk/ControlInterface.cpp') diff --git a/src/progs/gtk/ControlInterface.cpp b/src/progs/gtk/ControlInterface.cpp index eb5eee1b..2b22eee1 100644 --- a/src/progs/gtk/ControlInterface.cpp +++ b/src/progs/gtk/ControlInterface.cpp @@ -73,7 +73,7 @@ ControlInterface::new_patch_model(PatchModel* const pm) pm->plugin(plugin); }*/ - assert(pm->parent() == NULL); + assert(!pm->parent()); PatchController* patch = new PatchController(pm); //Store::instance().add_object(patch); //_app->patch_tree()->add_patch(patch); -- cgit v1.2.1