Skip to content
Snippets Groups Projects
Commit 955abec7 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fixed memory leak

parent 867a36e2
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,7 @@ void ActionWithArguments::interpretArgumentList(const std::vector<std::string>&
}
};
regfree(preg);
free(preg);
free(pmatch);
#else
plumed_merror("Regexp support not compiled!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment