small refactoring. memory leak fix

This commit is contained in:
2020-04-23 09:22:20 +04:00
parent e18fdd78a1
commit 46bcfad427
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -472,7 +472,7 @@ void pst_function_fini(pst_function* fn)
clear(fn);
if(fn->frame) {
// use free here because it was allocate out of our control by libdw
// use free here because it was allocated out of our control by libdw
free(fn->frame);
}