Free tmalloced Cfg.strings[i]

This commit is contained in:
Holger Vogt 2021-03-16 15:12:49 +01:00
parent 02b4f06f2d
commit 74a615d5af
1 changed files with 3 additions and 0 deletions

View File

@ -331,6 +331,9 @@ SVG_Close(void)
tfree(colors); tfree(colors);
} }
for (i = 0; i < NUM_STRINGS; i++)
tfree(Cfg.strings[i]);
/* In case of hardcopy command destroy the hardcopy graph /* In case of hardcopy command destroy the hardcopy graph
* and reset currentgraph to graphid 1, if possible * and reset currentgraph to graphid 1, if possible
*/ */