[Debichem-commits] [SCM] massXpert mass spectrometry suite: debian packaging branch, debian, updated. upstream/3.2.0-1-g5564507
Filippo Rusconi (Debian Maintainer)
rusconi-debian at laposte.net
Thu Nov 24 21:27:35 UTC 2011
The following commit has been merged in the debian branch:
commit 83d9bf3a78bb4d8ff37fb0f40aa69e263140a1b8
Author: Filippo Rusconi (Debian Maintainer) <rusconi-debian at laposte.net>
Date: Thu Dec 10 22:14:14 2009 +0100
Fix bug due to freeing an object and then using it.
Interestingly, this bug only showed in MacOSX.
diff --git a/gui/monomerModificationDlg.cpp b/gui/monomerModificationDlg.cpp
index 0686e11..7c12402 100644
--- a/gui/monomerModificationDlg.cpp
+++ b/gui/monomerModificationDlg.cpp
@@ -770,13 +770,12 @@ namespace massXpert
// End of
// for (int iter = 0; iter < m_indicesList.size(); ++iter)
+ m_ui.messagesTextEdit->append(tr("New operation: modify with %1\n")
+ .arg(modif->name()) + errorList.join(""));
+
// At this point we can delete the modif template.
-
delete modif;
-
- m_ui.messagesTextEdit->append(tr("New operation: modify with %1\n")
- .arg(modif->name()) + errorList.join(""));
-
+
populateModifAndModifiedMonomerLists();
mp_editorWnd->updateWholeSequenceMasses(true);
--
massXpert mass spectrometry suite: debian packaging
More information about the Debichem-commits
mailing list