[med-svn] [Git][med-team/mmseqs2][master] Forgot to deallocate within serialization patch
Shayan Doust
gitlab at salsa.debian.org
Sun Jul 21 02:34:01 BST 2019
Shayan Doust pushed to branch master at Debian Med / mmseqs2
Commits:
cf05c791 by Shayan Doust at 2019-07-20T15:41:29Z
Forgot to deallocate within serialization patch
- - - - -
1 changed file:
- debian/patches/fix_tests.patch
Changes:
=====================================
debian/patches/fix_tests.patch
=====================================
@@ -6,9 +6,9 @@ Last-Update: 2019-07-20
Index: mmseqs2/src/test/TestScoreMatrixSerialization.cpp
===================================================================
---- mmseqs2.orig/src/test/TestScoreMatrixSerialization.cpp 2019-07-20 16:21:13.549699250 +0100
-+++ mmseqs2/src/test/TestScoreMatrixSerialization.cpp 2019-07-20 16:21:13.545699216 +0100
-@@ -18,10 +18,11 @@
+--- mmseqs2.orig/src/test/TestScoreMatrixSerialization.cpp 2019-07-20 16:32:20.107321242 +0100
++++ mmseqs2/src/test/TestScoreMatrixSerialization.cpp 2019-07-20 16:32:58.363643912 +0100
+@@ -18,10 +18,12 @@
ScoreMatrix* unserialized = ScoreMatrix::unserialize(serialized, subMat.alphabetSize, 3);
Debug(Debug::INFO) << unserialized->elementSize << " " << unserialized->rowSize << " "
@@ -19,6 +19,7 @@ Index: mmseqs2/src/test/TestScoreMatrixSerialization.cpp
+
free(serialized);
- ScoreMatrix::cleanup(extMattwo);
++ free(extMattwo);
+ // Why not use an operator. Will free & destruct & will not SIGSEGV
+ delete(unserialized);
+
View it on GitLab: https://salsa.debian.org/med-team/mmseqs2/commit/cf05c79122cd6c55d86b8d9eecfb2a8522cb0174
--
View it on GitLab: https://salsa.debian.org/med-team/mmseqs2/commit/cf05c79122cd6c55d86b8d9eecfb2a8522cb0174
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190721/d06c367c/attachment.html>
More information about the debian-med-commit
mailing list