From 54d019cdd6e6aa5a7bd3c8775bb4cde1782d3e68 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 7 Aug 2010 23:29:22 +0000 Subject: [PATCH] Possibly-useful assert. git-svn-id: svn://localhost/ardour2/branches/3.0@7558 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/sndfile_manager.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/pbd/sndfile_manager.cc b/libs/pbd/sndfile_manager.cc index c6a52416ed..5f08e634d6 100644 --- a/libs/pbd/sndfile_manager.cc +++ b/libs/pbd/sndfile_manager.cc @@ -69,6 +69,7 @@ SndFileDescriptor::close () { /* we must have a lock on the FileManager's mutex */ + assert (_sndfile); sf_close (_sndfile); _sndfile = 0; }