Commit 04665ce540308475d22ab22f8c04d9dd85e5a6a5
1 parent
7c416dd4
Exists in
master
and in
10 other branches
Fix a memory leak
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/SERVER/DD_GetData.c
... | ... | @@ -587,6 +587,8 @@ int GetAttribute(int ID, char *VarName) |
587 | 587 | free(DD_Var[ID]->VarData[il].Variables[i]); |
588 | 588 | DD_Var[ID]->VarData[il].VarNumber = 0; |
589 | 589 | } |
590 | + //BRE - 17/09/15 - Free variables !! | |
591 | + free(DD_Var[ID]->VarData[il].Variables); | |
590 | 592 | } |
591 | 593 | |
592 | 594 | /*============================================================================ | ... | ... |