diff options
-rw-r--r-- | binutils/stabs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/stabs.c b/binutils/stabs.c index 796ff85..bf3f578 100644 --- a/binutils/stabs.c +++ b/binutils/stabs.c @@ -2367,7 +2367,10 @@ parse_stab_struct_fields (void *dhandle, if (! parse_stab_one_struct_field (dhandle, info, pp, p, fields + c, staticsp, p_end)) - return false; + { + free (fields); + return false; + } ++c; } |