Mercurial > hg > vampy-host
diff native/vampyhost.cpp @ 134:1f23d18883a1
Numerous corrections to management of reference counts -- fixing memory leaks, and fixing crash on exit with Py3
author | Chris Cannam |
---|---|
date | Mon, 29 Jun 2015 11:01:51 +0100 |
parents | 7c0c11577819 |
children | aa96f69e2f14 |
line wrap: on
line diff
--- a/native/vampyhost.cpp Wed Jun 24 17:32:44 2015 +0100 +++ b/native/vampyhost.cpp Mon Jun 29 11:01:51 2015 +0100 @@ -179,7 +179,7 @@ Plugin *plugin = loader->loadPlugin(pluginKey, 48000, 0); if (!plugin) { string pyerr("Failed to load plugin: "); pyerr += pluginKey; - PyErr_SetString(PyExc_TypeError,pyerr.c_str()); + PyErr_SetString(PyExc_TypeError, pyerr.c_str()); return 0; }