From 1d5e060273e081d91eb8134dbfad2a4503e9a891 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sat, 7 Jul 2001 21:55:28 +0000 Subject: [PATCH] Allocate/free space associated with saved_entryset and saved_exitset. --- gdb/procfs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gdb/procfs.c b/gdb/procfs.c index 990130c680f..76333ef04f6 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -674,6 +674,9 @@ create_procinfo (int pid, int tid) load_syscalls (pi); #endif + pi->saved_entryset = sysset_t_alloc (pi); + pi->saved_exitset = sysset_t_alloc (pi); + /* Chain into list. */ if (tid == 0) { @@ -743,6 +746,8 @@ destroy_one_procinfo (procinfo **list, procinfo *pi) #ifdef DYNAMIC_SYSCALLS free_syscalls (pi); #endif + xfree (pi->saved_entryset); + xfree (pi->saved_exitset); xfree (pi); } -- 2.30.2