diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-08-03 11:24:26 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-08-03 11:24:26 (GMT) |
commit | 4d179bc994cf85832d08f468c7e4122ad23e9244 (patch) | |
tree | 3348d3c001c961e9e464a644c12c9fc85e78d9b5 /plugins/lnxsyscalls | |
parent | 77735c8c77497498e3beb4f5bcec7de3b592fcbd (diff) |
Updated the reference counters when providing instruction links.
Diffstat (limited to 'plugins/lnxsyscalls')
-rw-r--r-- | plugins/lnxsyscalls/collect.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/lnxsyscalls/collect.c b/plugins/lnxsyscalls/collect.c index 87f5fa2..e73b444 100644 --- a/plugins/lnxsyscalls/collect.c +++ b/plugins/lnxsyscalls/collect.c @@ -488,7 +488,7 @@ bool look_for_registers(tracked_path *path, size_t sid, GArchProcessor *proc, co size_t count; /* Nombre de sources présentes */ bool first; /* Premier aiguillage ? */ size_t i; /* Boucle de parcours */ - instr_link_t *link; /* Détails d'un lien */ + const instr_link_t *link; /* Détails d'un lien */ size_t next; /* Indice de la pile suivante */ stack = &path->stacks[sid]; @@ -589,6 +589,8 @@ bool look_for_registers(tracked_path *path, size_t sid, GArchProcessor *proc, co } + unref_instr_link(link); + } g_arch_instruction_unlock_src(instr); |