Browse Source

frontend/variable.c, remove memory leak

pre-master-46
h_vogt 10 years ago
committed by rlar
parent
commit
8480898399
  1. 2
      src/frontend/variable.c

2
src/frontend/variable.c

@ -390,6 +390,8 @@ free_struct_variable(struct variable *v)
{
while (v) {
struct variable *next_v = v->va_next;
if (v->va_name)
tfree(v->va_name);
if (v->va_type == CP_LIST)
free_struct_variable(v->va_vlist);
if (v->va_type == CP_STRING)

Loading…
Cancel
Save