r1089: fixed an unusual memory leak (#749)

This is more apparent when there are many candidate chains. Although only a
small numbers of them are extended, they are still occupying memory. A
realloc() solves this problem. This is a long existiing issue.
This commit is contained in:
Heng Li
2021-08-04 17:07:00 -04:00
parent 629c11728e
commit 2392e54fe2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
#include "mmpriv.h"
#include "ketopt.h"
#define MM_VERSION "2.21-dev-r1087-dirty"
#define MM_VERSION "2.21-dev-r1089-dirty"
#ifdef __linux__
#include <sys/resource.h>