Merge pull request #35 from shinji-s/pr_fix_double_free_darray

Avoid freeing base class members in a derived class.
This commit is contained in:
shahramn 2020-08-02 14:16:07 +01:00 committed by GitHub
commit 670a726f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -140,8 +140,6 @@ static void destroy(grib_context* context, grib_action* act)
grib_context_free_persistent(context, a->name);
grib_darray_delete(context, a->darray);
grib_context_free_persistent(context, act->name);
grib_context_free_persistent(context, act->op);
}
static void xref(grib_action* d, FILE* f, const char* path)