Import 2017-06-07 23:51:09: master 8aab240f

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-05-11 19:06:43 master f6f5aa69
Changeset

BUG: Fix leaks in qSlicerScriptedLoadableModule[Widget]::setPythonSource()

Since PyDict_New() and PyObject_GetAttrString() return a new reference,
this commit now ensures the reference count is decremented when getting
out of scope.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24235 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/QTCore/qSlicerScriptedFileWriter.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedFileDialog.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModule.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModuleWidget.cxx Diff File