vectors.c, vec_get(), remove a memory leak

This commit is contained in:
h_vogt 2016-07-17 13:32:16 +02:00 committed by rlar
parent 1ef05dc51b
commit 3c2c6e8cde
1 changed files with 1 additions and 2 deletions

View File

@ -638,8 +638,7 @@ vec_get(const char *vec_name)
}
}
tfree(vv->va_name);
tfree(vv); /* va: tfree vv->va_name and vv (avoid memory leakages) */
free_struct_variable(vv);
tfree(wd);
vec_new(d);
tfree(whole);