Merge pull request #7098

c0c75ac19 Fixed issues found by static analysis (SChernykh)
This commit is contained in:
Alexander Blair 2020-12-26 13:36:01 -08:00
commit b9e444da5e
No known key found for this signature in database
GPG key ID: C64552D877C32479
3 changed files with 5 additions and 6 deletions

View file

@ -141,7 +141,6 @@ public:
rolling_median_t(rolling_median_t &&m)
{
free(data);
memcpy(this, &m, sizeof(rolling_median_t));
m.data = NULL;
}